logo
pub struct VisitDelimited<D, V> { /* private fields */ }
Expand description

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

Implementations

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

Trait Implementations

Formats the value using the given formatter. Read more

Visit a signed 64-bit integer value.

Visit an unsigned 64-bit integer value.

Visit a boolean value.

Visit a string value.

Visit a value implementing fmt::Debug.

Records a type implementing Error. Read more

Returns the formatter that this visitor writes to.

Completes the visitor, returning any output. Read more

Visit a set of fields, and return the output of finishing the visitor once the fields have been visited. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.