pub struct Span { /* private fields */ }Expand description
An unfinished or canceled span records an error when dropped. No error text is captured.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Span
impl !UnwindSafe for Span
impl Freeze for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin 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