Struct serde_ignored::Deserializer[][src]

pub struct Deserializer<'a, 'b, D, F: 'b> { /* fields omitted */ }

Deserializer adapter that invokes a callback with the path to every unused field of the input.

Implementations

impl<'a, 'b, D, F> Deserializer<'a, 'b, D, F> where
    F: FnMut(Path<'_>), 
[src]

pub fn new(de: D, callback: &'b mut F) -> Self[src]

Trait Implementations

impl<'a, 'b, 'de, D, F> Deserializer<'de> for Deserializer<'a, 'b, D, F> where
    D: Deserializer<'de>,
    F: FnMut(Path<'_>), 
[src]

Plain old forwarding impl except for deserialize_ignored_any which invokes the callback.

type Error = D::Error

The error type that can be returned if some error occurs during deserialization. Read more

Auto Trait Implementations

impl<'a, 'b, D, F> RefUnwindSafe for Deserializer<'a, 'b, D, F> where
    D: RefUnwindSafe,
    F: RefUnwindSafe

impl<'a, 'b, D, F> Send for Deserializer<'a, 'b, D, F> where
    D: Send,
    F: Send

impl<'a, 'b, D, F> Sync for Deserializer<'a, 'b, D, F> where
    D: Sync,
    F: Sync

impl<'a, 'b, D, F> Unpin for Deserializer<'a, 'b, D, F> where
    D: Unpin

impl<'a, 'b, D, F> !UnwindSafe for Deserializer<'a, 'b, D, F>

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.