pub struct Track { /* private fields */ }
Expand description

State for bookkeeping across nested deserializer calls.

You don’t need this if you are using serde_path_to_error::deserializer. If you are managing your own Deserializer, see the usage example on Deserializer.

Implementations§

Empty state with no error having happened yet.

Gets path at which the error occurred. Only meaningful after we know that an error has occurred. Returns an empty path otherwise.

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.