pub struct PerfMarker { /* private fields */ }Expand description
A performance marker that logs entry and exit points for performance measurement.
Automatically starts logging on creation and stops logging when dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerfMarker
impl RefUnwindSafe for PerfMarker
impl Send for PerfMarker
impl Sync for PerfMarker
impl Unpin for PerfMarker
impl UnsafeUnpin for PerfMarker
impl UnwindSafe for PerfMarker
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