Struct tracing_subscriber::field::delimited::Delimited [−][src]
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]
D: AsRef<str> + Clone,
V: MakeVisitor<T>,
V::Visitor: VisitFmt,
type Visitor = VisitDelimited<D, V::Visitor>
The visitor type produced by this MakeVisitor
.
fn make_visitor(&self, target: T) -> Self::Visitor
[src]
Auto Trait Implementations
impl<D, V> RefUnwindSafe for Delimited<D, V> where
D: RefUnwindSafe,
V: RefUnwindSafe,
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<D, V> Send for Delimited<D, V> where
D: Send,
V: Send,
D: Send,
V: Send,
impl<D, V> Sync for Delimited<D, V> where
D: Sync,
V: Sync,
D: Sync,
V: Sync,
impl<D, V> Unpin for Delimited<D, V> where
D: Unpin,
V: Unpin,
D: Unpin,
V: Unpin,
impl<D, V> UnwindSafe for Delimited<D, V> where
D: UnwindSafe,
V: UnwindSafe,
D: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, M> MakeExt<T> for M where
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
[src]
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
fn debug_alt(self) -> Alt<Self>
[src]
fn display_messages(self) -> Messages<Self>
[src]
fn delimited<D>(self, delimiter: D) -> Delimited<D, Self> where
D: AsRef<str> + Clone,
Self::Visitor: VisitFmt,
[src]
D: AsRef<str> + Clone,
Self::Visitor: VisitFmt,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,