[][src]Struct serde_xdr::Deserializer

pub struct Deserializer<'r, R> where
    R: ReadBytesExt + 'r, 
{ /* fields omitted */ }

Deserializer for the XDR format.

Structure that holds a mutable borrow of the reader it deserializes data from. It has an implementation of serde::Deserializer so that it can deserialize data from its XDR representation.

Implementations

impl<'r, R> Deserializer<'r, R> where
    R: ReadBytesExt + 'r, 
[src]

pub fn new(reader: &'r mut R) -> Self[src]

Create a new instance that deserializes data from the given generic reader.

Trait Implementations

impl<'a, 'de, 'r, R> Deserializer<'de> for &'a mut Deserializer<'r, R> where
    'r: 'a,
    R: ReadBytesExt + 'r, 
[src]

type Error = CompatDeserializationError

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

Auto Trait Implementations

impl<'r, R> RefUnwindSafe for Deserializer<'r, R> where
    R: RefUnwindSafe

impl<'r, R> Send for Deserializer<'r, R> where
    R: Send

impl<'r, R> Sync for Deserializer<'r, R> where
    R: Sync

impl<'r, R> Unpin for Deserializer<'r, R>

impl<'r, R> !UnwindSafe for Deserializer<'r, R>

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.