pub struct BufferedSubscriberLayer<S> { /* private fields */ }
Trait Implementations§
Source§impl<S: Debug> Debug for BufferedSubscriberLayer<S>
impl<S: Debug> Debug for BufferedSubscriberLayer<S>
Source§impl<S: Subscriber> Flushable for BufferedSubscriberLayer<S>
impl<S: Subscriber> Flushable for BufferedSubscriberLayer<S>
Source§impl<S: Subscriber> Subscriber for BufferedSubscriberLayer<S>
impl<S: Subscriber> Subscriber for BufferedSubscriberLayer<S>
Source§fn new_span(&self, span: &Attributes<'_>) -> Id
fn new_span(&self, span: &Attributes<'_>) -> Id
Source§fn record_follows_from(&self, span: &Id, follows: &Id)
fn record_follows_from(&self, span: &Id, follows: &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
Source§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
Source§fn drop_span(&self, _id: Id)
fn drop_span(&self, _id: Id)
👎Deprecated since 0.1.2: use
Subscriber::try_close
insteadThis method is deprecated. Read more
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
Auto Trait Implementations§
impl<S> Freeze for BufferedSubscriberLayer<S>where
S: Freeze,
impl<S> RefUnwindSafe for BufferedSubscriberLayer<S>where
S: RefUnwindSafe,
impl<S> Send for BufferedSubscriberLayer<S>where
S: Send,
impl<S> Sync for BufferedSubscriberLayer<S>where
S: Sync,
impl<S> Unpin for BufferedSubscriberLayer<S>where
S: Unpin,
impl<S> UnwindSafe for BufferedSubscriberLayer<S>where
S: 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> SubscriberInitExt for T
impl<T> SubscriberInitExt for T
Source§fn set_default(self) -> DefaultGuard
fn set_default(self) -> DefaultGuard
Sets
self
as the default subscriber in the current scope, returning a
guard that will unset it when dropped. Read moreSource§fn try_init(self) -> Result<(), TryInitError>
fn try_init(self) -> Result<(), TryInitError>
Attempts to set
self
as the global default subscriber in the current
scope, returning an error if one is already set. Read moreSource§fn init(self)
fn init(self)
Attempts to set
self
as the global default subscriber in the current
scope, panicking if this fails. Read more