[][src]Struct serde_path_to_error::Track

pub struct Track { /* fields omitted */ }

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

impl Track[src]

pub fn new() -> Self[src]

Empty state with no error having happened yet.

pub fn path(self) -> Path[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.