#[repr(u8)]pub enum NetworkFault {
Unspecified = 0,
Linkdown = 1,
Hardwarefailure = 2,
Networkjammed = 3,
}Variants§
Unspecified = 0
Indicates an unspecified fault.
Linkdown = 1
Indicates the Thread link is down.
Hardwarefailure = 2
Indicates there has been Thread hardware failure.
Networkjammed = 3
Indicates the Thread network is jammed.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkFault
impl Clone for NetworkFault
Source§fn clone(&self) -> NetworkFault
fn clone(&self) -> NetworkFault
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 NetworkFault
impl Debug for NetworkFault
Source§impl<'de> Deserialize<'de> for NetworkFault
impl<'de> Deserialize<'de> for NetworkFault
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<NetworkFault> for u8
impl From<NetworkFault> for u8
Source§fn from(val: NetworkFault) -> Self
fn from(val: NetworkFault) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetworkFault
impl PartialEq for NetworkFault
Source§impl Serialize for NetworkFault
impl Serialize for NetworkFault
impl Copy for NetworkFault
impl Eq for NetworkFault
impl StructuralPartialEq for NetworkFault
Auto Trait Implementations§
impl Freeze for NetworkFault
impl RefUnwindSafe for NetworkFault
impl Send for NetworkFault
impl Sync for NetworkFault
impl Unpin for NetworkFault
impl UnwindSafe for NetworkFault
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