#[non_exhaustive]pub enum MeterExclusionReason {
Status(u32),
MissingSourceTime,
SourceAfterReceipt,
NonFiniteWh,
NegativeWh,
FractionalWh,
InsufficientResolution,
}Expand description
Why an observation failed to qualify as a register point.
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.
Status(u32)
Nonzero OPC UA StatusCode, including all qualifier and information bits.
MissingSourceTime
The meter supplied no source timestamp.
SourceAfterReceipt
The source instant is later than local receipt.
NonFiniteWh
The floating-point register contains NaN or infinity.
NegativeWh
The cumulative register is finite and below zero.
FractionalWh
The nonnegative register contains a fraction of a watt-hour.
InsufficientResolution
The next larger value in the register’s wire type is more than 1 Wh away.
Trait Implementations§
Source§impl Clone for MeterExclusionReason
impl Clone for MeterExclusionReason
impl Copy for MeterExclusionReason
Source§impl Debug for MeterExclusionReason
impl Debug for MeterExclusionReason
Source§impl Display for MeterExclusionReason
impl Display for MeterExclusionReason
impl Eq for MeterExclusionReason
Source§impl PartialEq for MeterExclusionReason
impl PartialEq for MeterExclusionReason
impl StructuralPartialEq for MeterExclusionReason
Auto Trait Implementations§
impl Forget for MeterExclusionReason
impl Freeze for MeterExclusionReason
impl Move for MeterExclusionReason
impl RefUnwindSafe for MeterExclusionReason
impl Send for MeterExclusionReason
impl Sync for MeterExclusionReason
impl Unpin for MeterExclusionReason
impl UnsafeUnpin for MeterExclusionReason
impl UnwindSafe for MeterExclusionReason
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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