Struct tracing_subscriber::field::debug::Alt [−][src]
pub struct Alt<V>(_);
A visitor wrapper that ensures any fmt::Debug fields are formatted using
the alternate (:#) formatter.
Implementations
impl<V> Alt<V>[src]
impl<V> Alt<V>[src]Trait Implementations
impl<T, V> MakeVisitor<T> for Alt<V> where
V: MakeVisitor<T>, [src]
impl<T, V> MakeVisitor<T> for Alt<V> where
V: MakeVisitor<T>, [src]impl<V> Visit for Alt<V> where
V: Visit, [src]
impl<V> Visit for Alt<V> where
V: Visit, [src]fn record_i64(&mut self, field: &Field, value: i64)[src]
fn record_u64(&mut self, field: &Field, value: u64)[src]
fn record_bool(&mut self, field: &Field, value: bool)[src]
fn record_str(&mut self, field: &Field, value: &str)[src]
Visit a string value.
fn record_debug(&mut self, field: &Field, value: &dyn Debug)[src]
pub fn record_error(&mut self, field: &Field, value: &(dyn Error + 'static))[src]
impl<V, O> VisitOutput<O> for Alt<V> where
V: VisitOutput<O>, [src]
impl<V, O> VisitOutput<O> for Alt<V> where
V: VisitOutput<O>, [src]impl<V> VisitWrite for Alt<V> where
V: VisitWrite, [src]
impl<V> VisitWrite for Alt<V> where
V: VisitWrite, [src]Auto Trait Implementations
impl<V> RefUnwindSafe for Alt<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<V> Send for Alt<V> where
V: Send,
V: Send,
impl<V> Sync for Alt<V> where
V: Sync,
V: Sync,
impl<V> Unpin for Alt<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for Alt<V> where
V: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, M> MakeExt<T> for M where
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>, [src]
impl<T, M> MakeExt<T> for M where
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>, [src]