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

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

A MakeVisitor wrapper that wraps a visitor that writes formatted output so that a delimiter is inserted between writing formatted field values.

Implementations

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

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

Returns a new MakeVisitor implementation that wraps inner so that it will format each visited field separated by the provided delimiter.

Trait Implementations

impl<D: Clone, V: Clone> Clone for Delimited<D, V>[src]

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

impl<D, V, T> MakeVisitor<T> for Delimited<D, V> where
    D: AsRef<str> + Clone,
    V: MakeVisitor<T>,
    V::Visitor: VisitFmt
[src]

type Visitor = VisitDelimited<D, V::Visitor>

The visitor type produced by this MakeVisitor.

Auto Trait Implementations

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

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

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

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

impl<D, V> UnwindSafe for Delimited<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, 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.