Struct opentelemetry::sdk::trace::IdGenerator [−][src]
pub struct IdGenerator { /* fields omitted */ }
This is supported on crate feature
trace
only.Expand description
Default crate::trace::IdGenerator
implementation.
Generates Trace and Span ids using a random number generator.
Trait Implementations
Returns the “default value” for a type. Read more
Generate new TraceId
using thread local rng
Generate new SpanId
using thread local rng
Auto Trait Implementations
impl RefUnwindSafe for IdGenerator
impl Send for IdGenerator
impl Sync for IdGenerator
impl Unpin for IdGenerator
impl UnwindSafe for IdGenerator
Blanket Implementations
Mutably borrows from an owned value. Read more