pub trait MakeExt<T>: MakeVisitor<T> + Sized + Sealed<MakeExtMarker<T>> {
    // Provided methods
    fn debug_alt(self) -> Alt<Self> { ... }
    fn display_messages(self) -> Messages<Self> { ... }
    fn delimited<D>(self, delimiter: D) -> Delimited<D, Self>
       where D: AsRef<str> + Clone,
             Self::Visitor: VisitFmt { ... }
}
Expand description

Extension trait providing MakeVisitor combinators.

Provided Methods§

source

fn debug_alt(self) -> Alt<Self>

Wraps self so that any fmt::Debug fields are recorded using the alternate formatter ({:#?}).

source

fn display_messages(self) -> Messages<Self>

Wraps self so that any string fields named “message” are recorded using fmt::Display.

source

fn delimited<D>(self, delimiter: D) -> Delimited<D, Self>
where D: AsRef<str> + Clone, Self::Visitor: VisitFmt,

Wraps self so that when fields are formatted to a writer, they are separated by the provided delimiter.

Object Safety§

This trait is not object safe.

Implementors§

source§

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