Struct SentryTrace
pub struct SentryTrace { /* private fields */ }
Expand description
A container for distributed tracing metadata that can be extracted from e.g. the sentry-trace
HTTP header.
Implementations§
§impl SentryTrace
impl SentryTrace
pub 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§
§impl Clone for SentryTrace
impl Clone for SentryTrace
§fn clone(&self) -> SentryTrace
fn clone(&self) -> SentryTrace
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SentryTrace
impl Debug for SentryTrace
§impl Default for SentryTrace
impl Default for SentryTrace
§fn default() -> SentryTrace
fn default() -> SentryTrace
Returns the “default value” for a type. Read more
§impl Display for SentryTrace
impl Display for SentryTrace
§impl PartialEq for SentryTrace
impl PartialEq for SentryTrace
impl Copy 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