[−][src]Struct serde_path_to_error::Track
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
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnwindSafe for Track
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
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>,