pub struct ErrorSubscriber;Expand description
Default error subscriber.
Trait Implementations§
Source§impl Clone for ErrorSubscriber
impl Clone for ErrorSubscriber
Source§fn clone(&self) -> ErrorSubscriber
fn clone(&self) -> ErrorSubscriber
Returns a duplicate 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 moreSource§impl Debug for ErrorSubscriber
impl Debug for ErrorSubscriber
Source§impl Default for ErrorSubscriber
impl Default for ErrorSubscriber
Source§fn default() -> ErrorSubscriber
fn default() -> ErrorSubscriber
Returns the “default value” for a type. Read more
Source§impl Subscriber for ErrorSubscriber
impl Subscriber for ErrorSubscriber
Source§fn on_start(&self, builder: &mut TraceContextBuilder, rec: &TraceRecord)
fn on_start(&self, builder: &mut TraceContextBuilder, rec: &TraceRecord)
Notifies this subscriber that the propagation of the error has been started. Read more
Source§fn on_end(&self, ctx: &mut TraceContext)
fn on_end(&self, ctx: &mut TraceContext)
Notifies this subscriber that the propagation of the error has been completed
and that no more trace records will be appended.
Source§fn on_new_span(&self, ctx: &mut SpanContext<'_>)
fn on_new_span(&self, ctx: &mut SpanContext<'_>)
Source§fn on_try_record(&self, ctx: &mut SpanContext<'_>)
fn on_try_record(&self, ctx: &mut SpanContext<'_>)
Visits the construction of an
TraceRecord instance. Read moreSource§fn on_record(&self, ctx: &mut TraceContext)
fn on_record(&self, ctx: &mut TraceContext)
Notifies this subscriber that a trace record has been verified and successfully recorded.
Auto Trait Implementations§
impl Freeze for ErrorSubscriber
impl RefUnwindSafe for ErrorSubscriber
impl Send for ErrorSubscriber
impl Sync for ErrorSubscriber
impl Unpin for ErrorSubscriber
impl UnwindSafe for ErrorSubscriber
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