#[repr(u8)]pub enum HardwareFault {
Unspecified = 0,
Radio = 1,
Sensor = 2,
Resettableovertemp = 3,
Nonresettableovertemp = 4,
Powersource = 5,
Visualdisplayfault = 6,
Audiooutputfault = 7,
Userinterfacefault = 8,
Nonvolatilememoryerror = 9,
Tamperdetected = 10,
}Variants§
Unspecified = 0
The Node has encountered an unspecified fault.
Radio = 1
The Node has encountered a fault with at least one of its radios.
Sensor = 2
The Node has encountered a fault with at least one of its sensors.
Resettableovertemp = 3
The Node has encountered an over-temperature fault that is resettable.
Nonresettableovertemp = 4
The Node has encountered an over-temperature fault that is not resettable.
Powersource = 5
The Node has encountered a fault with at least one of its power sources.
Visualdisplayfault = 6
The Node has encountered a fault with at least one of its visual displays.
Audiooutputfault = 7
The Node has encountered a fault with at least one of its audio outputs.
Userinterfacefault = 8
The Node has encountered a fault with at least one of its user interfaces.
Nonvolatilememoryerror = 9
The Node has encountered a fault with its non-volatile memory.
Tamperdetected = 10
The Node has encountered disallowed physical tampering.
Implementations§
Trait Implementations§
Source§impl Clone for HardwareFault
impl Clone for HardwareFault
Source§fn clone(&self) -> HardwareFault
fn clone(&self) -> HardwareFault
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 HardwareFault
impl Debug for HardwareFault
Source§impl<'de> Deserialize<'de> for HardwareFault
impl<'de> Deserialize<'de> for HardwareFault
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<HardwareFault> for u8
impl From<HardwareFault> for u8
Source§fn from(val: HardwareFault) -> Self
fn from(val: HardwareFault) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HardwareFault
impl PartialEq for HardwareFault
Source§impl Serialize for HardwareFault
impl Serialize for HardwareFault
impl Copy for HardwareFault
impl Eq for HardwareFault
impl StructuralPartialEq for HardwareFault
Auto Trait Implementations§
impl Freeze for HardwareFault
impl RefUnwindSafe for HardwareFault
impl Send for HardwareFault
impl Sync for HardwareFault
impl Unpin for HardwareFault
impl UnwindSafe for HardwareFault
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