pub struct Context {
pub trace_id: [u8; 16],
pub root_span_id: [u8; 8],
pub parent: Option<TraceParent>,
pub tracestate: Option<String>,
pub anchor_unix_nanos: u64,
/* private fields */
}Expand description
One registered decision (3.7.1).
Fields§
§trace_id: [u8; 16]§root_span_id: [u8; 8]§parent: Option<TraceParent>The host span, when a valid parent was registered.
tracestate: Option<String>Carried unchanged when the parent is valid.
anchor_unix_nanos: u64The wall-clock anchor read at begin, Unix nanoseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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