Struct specifications::profiling::TimerGuard
source · pub struct TimerGuard<'s> { /* private fields */ }
Expand description
Defines the TimerGuard, which takes a Timing as long as it is in scope.
Implementations§
source§impl<'s> TimerGuard<'s>
impl<'s> TimerGuard<'s>
Trait Implementations§
source§impl<'s> Debug for TimerGuard<'s>
impl<'s> Debug for TimerGuard<'s>
Auto Trait Implementations§
impl<'s> Freeze for TimerGuard<'s>
impl<'s> !RefUnwindSafe for TimerGuard<'s>
impl<'s> Send for TimerGuard<'s>
impl<'s> Sync for TimerGuard<'s>
impl<'s> Unpin for TimerGuard<'s>
impl<'s> !UnwindSafe for TimerGuard<'s>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request