pub enum BatChargeFaultEnum {
Unspecified,
AmbientTooHot,
AmbientTooCold,
BatteryTooHot,
BatteryTooCold,
BatteryAbsent,
BatteryOverVoltage,
BatteryUnderVoltage,
ChargerOverVoltage,
ChargerUnderVoltage,
SafetyTimeout,
Unknown(u8),
}Expand description
BatChargeFaultEnum (enum8).
Variants§
Unspecified
Unspecified = 0.
AmbientTooHot
AmbientTooHot = 1.
AmbientTooCold
AmbientTooCold = 2.
BatteryTooHot
BatteryTooHot = 3.
BatteryTooCold
BatteryTooCold = 4.
BatteryAbsent
BatteryAbsent = 5.
BatteryOverVoltage
BatteryOverVoltage = 6.
BatteryUnderVoltage
BatteryUnderVoltage = 7.
ChargerOverVoltage
ChargerOverVoltage = 8.
ChargerUnderVoltage
ChargerUnderVoltage = 9.
SafetyTimeout
SafetyTimeout = 10.
Unknown(u8)
A value not known to this codegen revision.
Implementations§
Trait Implementations§
Source§impl Clone for BatChargeFaultEnum
impl Clone for BatChargeFaultEnum
Source§fn clone(&self) -> BatChargeFaultEnum
fn clone(&self) -> BatChargeFaultEnum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BatChargeFaultEnum
Source§impl Debug for BatChargeFaultEnum
impl Debug for BatChargeFaultEnum
impl Eq for BatChargeFaultEnum
Source§impl PartialEq for BatChargeFaultEnum
impl PartialEq for BatChargeFaultEnum
impl StructuralPartialEq for BatChargeFaultEnum
Auto Trait Implementations§
impl Freeze for BatChargeFaultEnum
impl RefUnwindSafe for BatChargeFaultEnum
impl Send for BatChargeFaultEnum
impl Sync for BatChargeFaultEnum
impl Unpin for BatChargeFaultEnum
impl UnsafeUnpin for BatChargeFaultEnum
impl UnwindSafe for BatChargeFaultEnum
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