#[repr(u8)]pub enum WiredFault {
Unspecified = 0,
Overvoltage = 1,
Undervoltage = 2,
}Variants§
Unspecified = 0
The Node detects an unspecified fault on this wired power source.
Overvoltage = 1
The Node detects the supplied voltage is above maximum supported value for this wired power source.
Undervoltage = 2
The Node detects the supplied voltage is below maximum supported value for this wired power source.
Implementations§
Trait Implementations§
Source§impl Clone for WiredFault
impl Clone for WiredFault
Source§fn clone(&self) -> WiredFault
fn clone(&self) -> WiredFault
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 WiredFault
impl Debug for WiredFault
Source§impl<'de> Deserialize<'de> for WiredFault
impl<'de> Deserialize<'de> for WiredFault
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<WiredFault> for u8
impl From<WiredFault> for u8
Source§fn from(val: WiredFault) -> Self
fn from(val: WiredFault) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WiredFault
impl PartialEq for WiredFault
Source§impl Serialize for WiredFault
impl Serialize for WiredFault
impl Copy for WiredFault
impl Eq for WiredFault
impl StructuralPartialEq for WiredFault
Auto Trait Implementations§
impl Freeze for WiredFault
impl RefUnwindSafe for WiredFault
impl Send for WiredFault
impl Sync for WiredFault
impl Unpin for WiredFault
impl UnwindSafe for WiredFault
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