#[repr(u8)]pub enum NetworkFault {
Unspecified = 0,
Hardwarefailure = 1,
Networkjammed = 2,
Connectionfailed = 3,
}Variants§
Unspecified = 0
The Node has encountered an unspecified fault.
Hardwarefailure = 1
The Node has encountered a network fault as a result of a hardware failure.
Networkjammed = 2
The Node has encountered a network fault as a result of a jammed network.
Connectionfailed = 3
The Node has encountered a network fault as a result of a failure to establish a connection.
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