pub type ConnectionState = ConnectionState;Aliased Type§
#[repr(u32)]pub enum ConnectionState {
Failed = 1,
Disconnected = 2,
Connecting = 3,
Connected = 4,
}Variants§
Failed = 1
The connection attempt was terminated due to an error.
Disconnected = 2
The network is disconnected.
Connecting = 3
The device is attempting a connection to a network.
Connected = 4
The connection is now established. Note: This does not make any guarantees about higher level network reachability.