pub struct LogSpan {
pub name: Cow<'static, str>,
pub context: SpanContext,
pub tracing_span: Option<Span>,
}Expand description
One frame on the fiber-local span stack (TracingFiberRefs::span_stack).
Fields§
§name: Cow<'static, str>Name of the active span frame.
context: SpanContextContext of the active span frame.
tracing_span: Option<Span>Rust tracing span used by the optional bridge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogSpan
impl !RefUnwindSafe for LogSpan
impl Send for LogSpan
impl Sync for LogSpan
impl Unpin for LogSpan
impl UnsafeUnpin for LogSpan
impl !UnwindSafe for LogSpan
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