pub enum ConnectionFailReason {
NoSecrets,
WifiClientFailed,
WifiClientDisconnected,
WifiAuthTimeout,
WifiNetworkLost,
Unknown,
}Expand description
Why a device’s last try to connect failed, from the reason
NetworkManager gave with its Failed state.
Variants§
NoSecrets
It needed secrets, such as a Wi-Fi password, and got none.
WifiClientFailed
The Wi-Fi supplicant failed, or its settings did.
WifiClientDisconnected
The Wi-Fi supplicant disconnected.
WifiAuthTimeout
The Wi-Fi network took too long to let it in, as with a wrong password.
WifiNetworkLost
The Wi-Fi network wasn’t found.
Unknown
Any other reason, such as DHCP getting no address.
Trait Implementations§
Source§impl Clone for ConnectionFailReason
impl Clone for ConnectionFailReason
impl Copy for ConnectionFailReason
Source§impl Debug for ConnectionFailReason
impl Debug for ConnectionFailReason
impl Eq for ConnectionFailReason
Source§impl PartialEq for ConnectionFailReason
impl PartialEq for ConnectionFailReason
impl StructuralPartialEq for ConnectionFailReason
Auto Trait Implementations§
impl Forget for ConnectionFailReason
impl Freeze for ConnectionFailReason
impl Move for ConnectionFailReason
impl RefUnwindSafe for ConnectionFailReason
impl Send for ConnectionFailReason
impl Sync for ConnectionFailReason
impl Unpin for ConnectionFailReason
impl UnsafeUnpin for ConnectionFailReason
impl UnwindSafe for ConnectionFailReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more