pub enum MeterValue {
Known {
current: f64,
capacity: f64,
},
Empty,
Unknown,
}Expand description
Supplied telemetry. Unknown has no implied fraction; Empty fills zero.
Variants§
Implementations§
Source§impl MeterValue
impl MeterValue
Trait Implementations§
Source§impl Clone for MeterValue
impl Clone for MeterValue
Source§fn clone(&self) -> MeterValue
fn clone(&self) -> MeterValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeterValue
impl Debug for MeterValue
Source§impl PartialEq for MeterValue
impl PartialEq for MeterValue
impl Copy for MeterValue
impl StructuralPartialEq for MeterValue
Auto Trait Implementations§
impl Freeze for MeterValue
impl RefUnwindSafe for MeterValue
impl Send for MeterValue
impl Sync for MeterValue
impl Unpin for MeterValue
impl UnwindSafe for MeterValue
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