pub struct SentryTrace(/* private fields */);
Expand description
A container for distributed tracing metadata that can be extracted from e.g. HTTP headers such as
sentry-trace
and traceparent
.
Implementations§
Source§impl SentryTrace
impl SentryTrace
Sourcepub fn new(
trace_id: TraceId,
span_id: SpanId,
sampled: Option<bool>,
) -> SentryTrace
pub fn new( trace_id: TraceId, span_id: SpanId, sampled: Option<bool>, ) -> SentryTrace
Creates a new SentryTrace
from the provided parameters
Trait Implementations§
Source§impl Debug for SentryTrace
impl Debug for SentryTrace
Source§impl Display for SentryTrace
impl Display for SentryTrace
Source§impl PartialEq for SentryTrace
impl PartialEq for SentryTrace
impl StructuralPartialEq for SentryTrace
Auto Trait Implementations§
impl Freeze for SentryTrace
impl RefUnwindSafe for SentryTrace
impl Send for SentryTrace
impl Sync for SentryTrace
impl Unpin for SentryTrace
impl UnwindSafe for SentryTrace
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