pub struct SerdeMapVisitor<S: SerializeMap> { /* private fields */ }
Expand description

Implements tracing_core::field::Visit for some serde::ser::SerializeMap.

Implementations§

Create a new map visitor.

Completes serializing the visited object, returning Ok(()) if all fields were serialized correctly, or Error(S::Error) if a field could not be serialized.

Completes serializing the visited object, returning ownership of the underlying serializer if all fields were serialized correctly, or Err(S::Error) if a field could not be serialized.

Trait Implementations§

Formats the value using the given formatter. Read more
Visit a boolean value.
Visit a value implementing fmt::Debug.
Visit an unsigned 64-bit integer value.
Visit a signed 64-bit integer value.
Visit a double-precision floating point value.
Visit a string value.
Visit a signed 128-bit integer value.
Visit an unsigned 128-bit integer value.
Records a type implementing Error. 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.

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.