Struct matrix_sdk_base::tracing_timer::TracingTimer
source · 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_debug(
callsite: &'static DefaultCallsite,
id: String,
level: Level
) -> TracingTimer
pub fn new_debug( callsite: &'static DefaultCallsite, id: String, level: Level ) -> TracingTimer
Create a new TracingTimer
at the debug
log level.
Trait Implementations§
source§impl Debug for TracingTimer
Available on non-tarpaulin_include
only.
impl Debug for TracingTimer
Available on non-
tarpaulin_include
only.Auto Trait Implementations§
impl !RefUnwindSafe for TracingTimer
impl Send for TracingTimer
impl Sync for TracingTimer
impl Unpin for TracingTimer
impl !UnwindSafe for TracingTimer
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