pub struct Entered<'a> { /* private fields */ }
Expand description
A guard representing a span which has been entered and is currently executing.
When the guard is dropped, the span will be exited.
This is returned by the Span::enter
function.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Entered<'a>
impl<'a> !RefUnwindSafe for Entered<'a>
impl<'a> Send for Entered<'a>
impl<'a> Sync for Entered<'a>
impl<'a> Unpin for Entered<'a>
impl<'a> !UnwindSafe for Entered<'a>
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> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Available on crate feature
std
only.Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Available on crate feature
std
only.