Struct tracing_subscriber::field::delimited::VisitDelimited [−][src]
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]
V: VisitFmt,
D: AsRef<str>,
fn record_i64(&mut self, field: &Field, value: i64)
[src]
fn record_u64(&mut self, field: &Field, value: u64)
[src]
fn record_bool(&mut self, field: &Field, value: bool)
[src]
fn record_str(&mut self, field: &Field, value: &str)
[src]
fn record_debug(&mut self, field: &Field, value: &dyn Debug)
[src]
pub fn record_error(&mut self, field: &Field, value: &(dyn Error + 'static))
[src]
impl<D, V> VisitFmt for VisitDelimited<D, V> where
V: VisitFmt,
D: AsRef<str>,
[src]
V: VisitFmt,
D: AsRef<str>,
impl<D, V> VisitOutput<Result<(), Error>> for VisitDelimited<D, V> where
V: VisitFmt,
D: AsRef<str>,
[src]
V: VisitFmt,
D: AsRef<str>,
Auto Trait Implementations
impl<D, V> RefUnwindSafe for VisitDelimited<D, V> where
D: RefUnwindSafe,
V: RefUnwindSafe,
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<D, V> Send for VisitDelimited<D, V> where
D: Send,
V: Send,
D: Send,
V: Send,
impl<D, V> Sync for VisitDelimited<D, V> where
D: Sync,
V: Sync,
D: Sync,
V: Sync,
impl<D, V> Unpin for VisitDelimited<D, V> where
D: Unpin,
V: Unpin,
D: Unpin,
V: Unpin,
impl<D, V> UnwindSafe for VisitDelimited<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, 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>,