#[repr(u8)]pub enum NetworkRecoveryReason {
Unspecified = 0,
Auth = 1,
Visibility = 2,
}Variants§
Unspecified = 0
Unspecified / unknown reason of network failure
Auth = 1
Credentials for the configured operational network are not valid
Visibility = 2
Configured network cannot be found (e.g. the device cannot see the configured Wi-Fi SSID, Thread end-node is unable to find a parent router on the PAN)
Implementations§
Trait Implementations§
Source§impl Clone for NetworkRecoveryReason
impl Clone for NetworkRecoveryReason
Source§fn clone(&self) -> NetworkRecoveryReason
fn clone(&self) -> NetworkRecoveryReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkRecoveryReason
impl Debug for NetworkRecoveryReason
Source§impl<'de> Deserialize<'de> for NetworkRecoveryReason
impl<'de> Deserialize<'de> for NetworkRecoveryReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NetworkRecoveryReason> for u8
impl From<NetworkRecoveryReason> for u8
Source§fn from(val: NetworkRecoveryReason) -> Self
fn from(val: NetworkRecoveryReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetworkRecoveryReason
impl PartialEq for NetworkRecoveryReason
Source§impl Serialize for NetworkRecoveryReason
impl Serialize for NetworkRecoveryReason
impl Copy for NetworkRecoveryReason
impl Eq for NetworkRecoveryReason
impl StructuralPartialEq for NetworkRecoveryReason
Auto Trait Implementations§
impl Freeze for NetworkRecoveryReason
impl RefUnwindSafe for NetworkRecoveryReason
impl Send for NetworkRecoveryReason
impl Sync for NetworkRecoveryReason
impl Unpin for NetworkRecoveryReason
impl UnwindSafe for NetworkRecoveryReason
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