pub enum History {
Opening,
Gap,
Filled,
Revised,
}Expand description
Choose which source records the simulated meter reports.
Variants§
Opening
Only the opening register has been observed.
Gap
The middle quarter-hour is missing.
Filled
All three slots contain the original readings.
Revised
The middle slot conflicts with its previously reported energy reading.
Implementations§
Trait Implementations§
impl Copy for History
impl Eq for History
impl StructuralPartialEq for History
Auto Trait Implementations§
impl Freeze for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnsafeUnpin for History
impl UnwindSafe for History
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