pub struct PerfTimer { /* private fields */ }
Expand description
Performance timer with logging. Starts measuring time in the constructor, prints
elapsed time in the destructor or when stop
is called.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerfTimer
impl RefUnwindSafe for PerfTimer
impl Send for PerfTimer
impl Sync for PerfTimer
impl Unpin for PerfTimer
impl UnwindSafe for PerfTimer
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