pub struct MetricTimer {
pub label: String,
pub start: Instant,
pub tags: Tags,
}Fields§
§label: String§start: InstantTrait Implementations§
Source§impl Clone for MetricTimer
impl Clone for MetricTimer
Source§fn clone(&self) -> MetricTimer
fn clone(&self) -> MetricTimer
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 moreAuto Trait Implementations§
impl Freeze for MetricTimer
impl RefUnwindSafe for MetricTimer
impl Send for MetricTimer
impl Sync for MetricTimer
impl Unpin for MetricTimer
impl UnwindSafe for MetricTimer
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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