pub struct DefaultTracer<C, IG, SS, S, SC, X> { /* private fields */ }Trait Implementations§
Source§impl<C, IG, SS, S, SC, X> Tracer for DefaultTracer<C, IG, SS, S, SC, X>where
C: Clock,
IG: IdGenerator,
SS: StaticSampler,
S: Sampler,
SC: SpanCollection,
X: Fn(SC::Exportable) + Send + Sync + 'static,
impl<C, IG, SS, S, SC, X> Tracer for DefaultTracer<C, IG, SS, S, SC, X>where
C: Clock,
IG: IdGenerator,
SS: StaticSampler,
S: Sampler,
SC: SpanCollection,
X: Fn(SC::Exportable) + Send + Sync + 'static,
fn is_enabled(&self, target: Option<&str>, severity: Option<Severity>) -> bool
fn start_span( &self, args: SpanArgs<'_>, _: &mut PrivateMarker, ) -> Option<(RecordingSpanContext, SamplingResult)>
fn set_attributes(&self, span: RecordingSpanContext, attrs: AttributeList<'_>)
fn add_event( &self, span: RecordingSpanContext, args: EventArgs<'_>, _: &mut PrivateMarker, )
fn set_status(&self, span: RecordingSpanContext, status: SpanStatus<'_>)
fn drop_span(&self, span: RecordingSpanContext, _: &mut PrivateMarker)
fn flush(&self)
fn instrumentation_error(&self, err: InstrumentationError<'_>)
Auto Trait Implementations§
impl<C, IG, SS, S, SC, X> !Freeze for DefaultTracer<C, IG, SS, S, SC, X>
impl<C, IG, SS, S, SC, X> !RefUnwindSafe for DefaultTracer<C, IG, SS, S, SC, X>
impl<C, IG, SS, S, SC, X> Send for DefaultTracer<C, IG, SS, S, SC, X>
impl<C, IG, SS, S, SC, X> Sync for DefaultTracer<C, IG, SS, S, SC, X>
impl<C, IG, SS, S, SC, X> Unpin for DefaultTracer<C, IG, SS, S, SC, X>
impl<C, IG, SS, S, SC, X> !UnwindSafe for DefaultTracer<C, IG, SS, S, SC, X>
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