pub enum LinkReason {
None = 0,
NotFound = 1,
Auth = 2,
Rejected = 3,
Lost = 4,
Other = 5,
}Expand description
Why the station is LinkState::Connecting rather than up.
Variants§
None = 0
WIFI_REASON_NONE: no attempt has failed yet. Also the value in
the other two states.
NotFound = 1
WIFI_REASON_NOT_FOUND: not heard, and no answer to a probe.
Auth = 2
WIFI_REASON_AUTH: the network rejected the credential.
Rejected = 3
WIFI_REASON_REJECTED: the association was refused for another
reason.
Lost = 4
WIFI_REASON_LOST: the association was up and dropped.
Other = 5
WIFI_REASON_OTHER: something the device has no name for.
Implementations§
Trait Implementations§
Source§impl Clone for LinkReason
impl Clone for LinkReason
Source§fn clone(&self) -> LinkReason
fn clone(&self) -> LinkReason
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkReason
impl Debug for LinkReason
Source§impl Default for LinkReason
impl Default for LinkReason
Source§fn default() -> LinkReason
fn default() -> LinkReason
Returns the “default value” for a type. Read more
Source§impl PartialEq for LinkReason
impl PartialEq for LinkReason
impl Copy for LinkReason
impl Eq for LinkReason
impl StructuralPartialEq for LinkReason
Auto Trait Implementations§
impl Freeze for LinkReason
impl RefUnwindSafe for LinkReason
impl Send for LinkReason
impl Sync for LinkReason
impl Unpin for LinkReason
impl UnwindSafe for LinkReason
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)