#[repr(u8)]pub enum BatChargeFault {
Unspecified = 0,
Ambienttoohot = 1,
Ambienttoocold = 2,
Batterytoohot = 3,
Batterytoocold = 4,
Batteryabsent = 5,
Batteryovervoltage = 6,
Batteryundervoltage = 7,
Chargerovervoltage = 8,
Chargerundervoltage = 9,
Safetytimeout = 10,
}Variants§
Unspecified = 0
The Node detects an unspecified fault on this battery source.
Ambienttoohot = 1
The Node detects the ambient temperature is above the nominal range for this battery source.
Ambienttoocold = 2
The Node detects the ambient temperature is below the nominal range for this battery source.
Batterytoohot = 3
The Node detects the temperature of this battery source is above the nominal range.
Batterytoocold = 4
The Node detects the temperature of this battery source is below the nominal range.
Batteryabsent = 5
The Node detects this battery source is not present.
Batteryovervoltage = 6
The Node detects this battery source is over voltage.
Batteryundervoltage = 7
The Node detects this battery source is under voltage.
Chargerovervoltage = 8
The Node detects the charger for this battery source is over voltage.
Chargerundervoltage = 9
The Node detects the charger for this battery source is under voltage.
Safetytimeout = 10
The Node detects a charging safety timeout for this battery source.
Implementations§
Trait Implementations§
Source§impl Clone for BatChargeFault
impl Clone for BatChargeFault
Source§fn clone(&self) -> BatChargeFault
fn clone(&self) -> BatChargeFault
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BatChargeFault
impl Debug for BatChargeFault
Source§impl<'de> Deserialize<'de> for BatChargeFault
impl<'de> Deserialize<'de> for BatChargeFault
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>,
Source§impl From<BatChargeFault> for u8
impl From<BatChargeFault> for u8
Source§fn from(val: BatChargeFault) -> Self
fn from(val: BatChargeFault) -> Self
Source§impl PartialEq for BatChargeFault
impl PartialEq for BatChargeFault
Source§fn eq(&self, other: &BatChargeFault) -> bool
fn eq(&self, other: &BatChargeFault) -> bool
self and other values to be equal, and is used by ==.