pub enum PDFault {
None,
UnderVoltage,
OverVoltage,
OverCurrent,
OverTemperature,
Unknown,
}Expand description
Fault types
Variants§
None
No fault
UnderVoltage
Under Voltage Protection triggered
OverVoltage
Over Voltage Protection triggered
OverCurrent
Over Current Protection triggered
OverTemperature
Over Temperature Protection triggered
Unknown
Unknown fault
Trait Implementations§
impl Copy for PDFault
impl StructuralPartialEq for PDFault
Auto Trait Implementations§
impl Freeze for PDFault
impl RefUnwindSafe for PDFault
impl Send for PDFault
impl Sync for PDFault
impl Unpin for PDFault
impl UnwindSafe for PDFault
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