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]

pub fn new(inner: V) -> Self[src]

Wraps the provided visitor so that any fmt::Debug fields are formatted using the alternative (:#) formatter.

Trait Implementations

impl<V: Clone> Clone for Alt<V>[src]

impl<V: Debug> Debug for Alt<V>[src]

impl<T, V> MakeVisitor<T> for Alt<V> where
    V: MakeVisitor<T>, 
[src]

type Visitor = Alt<V::Visitor>

The visitor type produced by this MakeVisitor.

impl<V> Visit for Alt<V> where
    V: Visit
[src]

fn record_str(&mut self, field: &Field, value: &str)[src]

Visit a string value.

impl<V> VisitFmt for Alt<V> where
    V: VisitFmt
[src]

impl<V, O> VisitOutput<O> for Alt<V> where
    V: VisitOutput<O>, 
[src]

impl<V> VisitWrite for Alt<V> where
    V: VisitWrite
[src]

Auto Trait Implementations

impl<V> RefUnwindSafe for Alt<V> where
    V: RefUnwindSafe

impl<V> Send for Alt<V> where
    V: Send

impl<V> Sync for Alt<V> where
    V: Sync

impl<V> Unpin for Alt<V> where
    V: Unpin

impl<V> UnwindSafe for Alt<V> where
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, M> MakeExt<T> for M where
    M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.