pub enum FaultKind {
Offline,
Stuck,
Tripped,
}Expand description
What a fault does to an asset.
Variants§
Offline
No value at all.
Stuck
The value and its source time freeze at the fault’s start.
Tripped
Online and reporting, but delivering nothing — a tripped inverter: power 0, state of charge held at the fault’s start.
Trait Implementations§
impl Copy for FaultKind
impl Eq for FaultKind
impl StructuralPartialEq for FaultKind
Auto Trait Implementations§
impl Forget for FaultKind
impl Freeze for FaultKind
impl Move for FaultKind
impl RefUnwindSafe for FaultKind
impl Send for FaultKind
impl Sync for FaultKind
impl Unpin for FaultKind
impl UnsafeUnpin for FaultKind
impl UnwindSafe for FaultKind
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