pub struct SimpleTimer {
start: Instant,
labels: Option<Vec<KeyValue>>,
}Expand description
Represents a timer handle.
Fields§
§start: Instant§labels: Option<Vec<KeyValue>>Auto Trait Implementations§
impl Freeze for SimpleTimer
impl RefUnwindSafe for SimpleTimer
impl Send for SimpleTimer
impl Sync for SimpleTimer
impl Unpin for SimpleTimer
impl UnwindSafe for SimpleTimer
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