#[repr(transparent)]pub struct SCNetworkConnectionPPPStatus(pub i32);SCNetworkConnection only.Expand description
PPP-specific status of the network connection. This status is returned as part of the extended information for a PPP service. Note: additional status might be returned in the future. Your application should be prepared to receive an unknown value.
PPP is disconnected.
PPP is initializing.
PPP is connecting the lower connection layer (for example, the modem is dialing out).
PPP is waiting for networking traffic to automatically establish the connection.
The PPP lower layer is connected and PPP is negotiating the link layer (LCP protocol).
PPP is authenticating to the server (PAP, CHAP, MS-CHAP or EAP protocols).
PPP is waiting for the server to call back.
PPP is now authenticated and negotiating the networking layer (IPCP or IPv6CP protocols)
PPP is now fully connected for at least one networking layer. Additional networking protocol might still be negotiating.
PPP networking and link protocols are terminating.
PPP is disconnecting the lower level (for example, the modem is hanging up).
PPP is disconnected and maintaining the link temporarily off.
PPP is suspended as a result of the suspend command (for example, when a V.92 Modem is On Hold).
PPP has found a busy server and is waiting for redial.
See also Apple’s documentation
Tuple Fields§
§0: i32Implementations§
Source§impl SCNetworkConnectionPPPStatus
impl SCNetworkConnectionPPPStatus
pub const Disconnected: Self
pub const Initializing: Self
pub const ConnectingLink: Self
pub const DialOnTraffic: Self
pub const NegotiatingLink: Self
pub const Authenticating: Self
pub const WaitingForCallBack: Self
pub const NegotiatingNetwork: Self
pub const Connected: Self
pub const Terminating: Self
pub const DisconnectingLink: Self
pub const HoldingLinkOff: Self
pub const Suspended: Self
pub const WaitingForRedial: Self
Trait Implementations§
Source§impl Clone for SCNetworkConnectionPPPStatus
impl Clone for SCNetworkConnectionPPPStatus
Source§fn clone(&self) -> SCNetworkConnectionPPPStatus
fn clone(&self) -> SCNetworkConnectionPPPStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SCNetworkConnectionPPPStatus
impl Debug for SCNetworkConnectionPPPStatus
Source§impl Encode for SCNetworkConnectionPPPStatus
Available on crate feature objc2 only.
impl Encode for SCNetworkConnectionPPPStatus
objc2 only.Source§impl Hash for SCNetworkConnectionPPPStatus
impl Hash for SCNetworkConnectionPPPStatus
Source§impl Ord for SCNetworkConnectionPPPStatus
impl Ord for SCNetworkConnectionPPPStatus
Source§fn cmp(&self, other: &SCNetworkConnectionPPPStatus) -> Ordering
fn cmp(&self, other: &SCNetworkConnectionPPPStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SCNetworkConnectionPPPStatus
impl PartialEq for SCNetworkConnectionPPPStatus
Source§fn eq(&self, other: &SCNetworkConnectionPPPStatus) -> bool
fn eq(&self, other: &SCNetworkConnectionPPPStatus) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SCNetworkConnectionPPPStatus
impl PartialOrd for SCNetworkConnectionPPPStatus
Source§impl RefEncode for SCNetworkConnectionPPPStatus
Available on crate feature objc2 only.
impl RefEncode for SCNetworkConnectionPPPStatus
objc2 only.