Struct tracing_subscriber::field::delimited::VisitDelimited[][src]

pub struct VisitDelimited<D, V> { /* fields omitted */ }

A visitor wrapper that inserts a delimiter after the wrapped visitor formats a field value.

Implementations

impl<D, V> VisitDelimited<D, V>[src]

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

Returns a new Visit implementation that wraps inner so that each formatted field is separated by the provided delimiter.

Trait Implementations

impl<D: Debug, V: Debug> Debug for VisitDelimited<D, V>[src]

impl<D, V> Visit for VisitDelimited<D, V> where
    V: VisitFmt,
    D: AsRef<str>, 
[src]

impl<D, V> VisitFmt for VisitDelimited<D, V> where
    V: VisitFmt,
    D: AsRef<str>, 
[src]

impl<D, V> VisitOutput<Result<(), Error>> for VisitDelimited<D, V> where
    V: VisitFmt,
    D: AsRef<str>, 
[src]

Auto Trait Implementations

impl<D, V> RefUnwindSafe for VisitDelimited<D, V> where
    D: RefUnwindSafe,
    V: RefUnwindSafe

impl<D, V> Send for VisitDelimited<D, V> where
    D: Send,
    V: Send

impl<D, V> Sync for VisitDelimited<D, V> where
    D: Sync,
    V: Sync

impl<D, V> Unpin for VisitDelimited<D, V> where
    D: Unpin,
    V: Unpin

impl<D, V> UnwindSafe for VisitDelimited<D, V> where
    D: UnwindSafe,
    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, 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.