Struct sozu_lib::metrics::StoredMetricValue
source · pub struct StoredMetricValue { /* private fields */ }
Implementations§
source§impl StoredMetricValue
impl StoredMetricValue
pub fn new(last_sent: Instant, data: MetricValue) -> StoredMetricValue
pub fn update(&mut self, key: &'static str, m: MetricValue)
Trait Implementations§
source§impl Clone for StoredMetricValue
impl Clone for StoredMetricValue
source§fn clone(&self) -> StoredMetricValue
fn clone(&self) -> StoredMetricValue
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for StoredMetricValue
impl Send for StoredMetricValue
impl Sync for StoredMetricValue
impl Unpin for StoredMetricValue
impl UnwindSafe for StoredMetricValue
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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