pub struct ActionTraceSubscriber<Sink, SpanConstructor> { /* private fields */ }
Implementations§
Source§impl<Sink: TraceSink, TSpanConstructor: SpanConstructor> ActionTraceSubscriber<Sink, TSpanConstructor>
impl<Sink: TraceSink, TSpanConstructor: SpanConstructor> ActionTraceSubscriber<Sink, TSpanConstructor>
pub fn new( level: LevelFilter, sink: Sink, span_constructor: TSpanConstructor, ) -> Self
Trait Implementations§
Source§impl<Sink: TraceSink + 'static, TSpanConstructor: SpanConstructor + 'static> Subscriber for ActionTraceSubscriber<Sink, TSpanConstructor>
impl<Sink: TraceSink + 'static, TSpanConstructor: SpanConstructor + 'static> Subscriber for ActionTraceSubscriber<Sink, TSpanConstructor>
Source§fn new_span(&self, attributes: &Attributes<'_>) -> Id
fn new_span(&self, attributes: &Attributes<'_>) -> Id
Source§fn record_follows_from(&self, _span: &Id, _follows: &Id)
fn record_follows_from(&self, _span: &Id, _follows: &Id)
Source§fn current_span(&self) -> Current
fn current_span(&self) -> Current
Returns a type representing this subscriber’s view of the current span. Read more
Source§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
Source§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
Source§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
Source§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
Returns the highest verbosity level that this
Subscriber
will
enable, or None
, if the subscriber does not implement level-based
filtering or chooses not to implement this method. Read moreSource§fn event_enabled(&self, event: &Event<'_>) -> bool
fn event_enabled(&self, event: &Event<'_>) -> bool
Auto Trait Implementations§
impl<Sink, SpanConstructor> !Freeze for ActionTraceSubscriber<Sink, SpanConstructor>
impl<Sink, SpanConstructor> RefUnwindSafe for ActionTraceSubscriber<Sink, SpanConstructor>where
Sink: RefUnwindSafe,
SpanConstructor: RefUnwindSafe,
impl<Sink, SpanConstructor> Send for ActionTraceSubscriber<Sink, SpanConstructor>
impl<Sink, SpanConstructor> Sync for ActionTraceSubscriber<Sink, SpanConstructor>
impl<Sink, SpanConstructor> Unpin for ActionTraceSubscriber<Sink, SpanConstructor>
impl<Sink, SpanConstructor> UnwindSafe for ActionTraceSubscriber<Sink, SpanConstructor>where
Sink: UnwindSafe,
SpanConstructor: UnwindSafe,
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