Struct tracing_subscriber::registry::Extensions
source · [−]pub struct Extensions<'a> { /* private fields */ }
Expand description
An immutable, read-only reference to a Span’s extensions.
Implementations
sourceimpl<'a> Extensions<'a>
impl<'a> Extensions<'a>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Extensions<'a>
impl<'a> !Send for Extensions<'a>
impl<'a> Sync for Extensions<'a>
impl<'a> Unpin for Extensions<'a>
impl<'a> UnwindSafe for Extensions<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more