#[non_exhaustive]pub enum StatusWord {
Edl,
Mme,
}Expand description
Where a meter’s status word carries the energy direction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Edl
Bit 5 (0x20): “Energierichtung, 0 = +A, 1 = −A” (FNN Lastenheft EDL 1.2, Tab. 7).
EDL21 meters such as the EMH ED300L and eHZ and the ISKRA MT175.
Mme
Bit 11 (0x800) of the 4-byte status of newer meters (bits 12–14 are the phases).
DZG DVS74 and DWSB20, Holley DTZ541, Elster AS2020.
Trait Implementations§
Source§impl Clone for StatusWord
impl Clone for StatusWord
impl Copy for StatusWord
Source§impl Debug for StatusWord
impl Debug for StatusWord
impl Eq for StatusWord
Source§impl Hash for StatusWord
impl Hash for StatusWord
Source§impl PartialEq for StatusWord
impl PartialEq for StatusWord
impl StructuralPartialEq for StatusWord
Auto Trait Implementations§
impl Forget for StatusWord
impl Freeze for StatusWord
impl Move for StatusWord
impl RefUnwindSafe for StatusWord
impl Send for StatusWord
impl Sync for StatusWord
impl Unpin for StatusWord
impl UnsafeUnpin for StatusWord
impl UnwindSafe for StatusWord
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