#[repr(u8)]pub enum BatFault {
Unspecified = 0,
Overtemp = 1,
Undertemp = 2,
}Variants§
Unspecified = 0
The Node detects an unspecified fault on this battery power source.
Overtemp = 1
The Node detects the temperature of this battery power source is above ideal operating conditions.
Undertemp = 2
The Node detects the temperature of this battery power source is below ideal operating conditions.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BatFault
impl<'de> Deserialize<'de> for BatFault
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
impl Copy for BatFault
impl Eq for BatFault
impl StructuralPartialEq for BatFault
Auto Trait Implementations§
impl Freeze for BatFault
impl RefUnwindSafe for BatFault
impl Send for BatFault
impl Sync for BatFault
impl Unpin for BatFault
impl UnwindSafe for BatFault
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