pub struct Span { /* private fields */ }Available on crate feature
tracing only.Expand description
An entered span which will exit on drop.
Implementations§
Source§impl Span
impl Span
Sourcepub fn from_entered(span: EnteredSpan) -> Self
pub fn from_entered(span: EnteredSpan) -> Self
Wrap an entered span from the tracing crate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Span
impl !RefUnwindSafe for Span
impl !Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl !UnwindSafe for Span
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