pub struct TracingTimer { /* private fields */ }Expand description
A named RAII that will show on Drop how long its covered section took to
execute.
Implementations§
Source§impl TracingTimer
impl TracingTimer
Sourcepub fn new(callsite: &'static DefaultCallsite, id: String, level: Level) -> Self
pub fn new(callsite: &'static DefaultCallsite, id: String, level: Level) -> Self
Create a new TracingTimer.
Trait Implementations§
Source§impl Debug for TracingTimer
Available on non-tarpaulin_include only.
impl Debug for TracingTimer
Available on non-
tarpaulin_include only.Source§impl Drop for TracingTimer
impl Drop for TracingTimer
Auto Trait Implementations§
impl !RefUnwindSafe for TracingTimer
impl !UnwindSafe for TracingTimer
impl Freeze for TracingTimer
impl Send for TracingTimer
impl Sync for TracingTimer
impl Unpin for TracingTimer
impl UnsafeUnpin for TracingTimer
Blanket Implementations§
impl<T> AsyncTraitDeps 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
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more