[][src]Struct ordcode::Deserializer

pub struct Deserializer<R, P> { /* fields omitted */ }

serde deserializer for binary data format which may preserve lexicographic ordering of values

Please see Serializer documentation for more details.

Implementations

impl<'de, R, P> Deserializer<R, P> where
    R: TailReadBytes,
    P: SerializerParams
[src]

#[must_use]pub fn new(reader: R, params: P) -> Self[src]

pub fn into_reader(self) -> R[src]

Trait Implementations

impl<'a, 'de: 'a, R, P> Deserializer<'de> for &'a mut Deserializer<R, P> where
    R: TailReadBytes,
    P: SerializerParams
[src]

type Error = Error

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

impl<'a, 'de: 'a, R, P> EnumAccess<'de> for &'a mut Deserializer<R, P> where
    R: TailReadBytes,
    P: SerializerParams
[src]

type Error = Error

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

type Variant = Self

The Visitor that will be used to deserialize the content of the enum variant. Read more

impl<W> FormatVersion<AscendingOrder> for Deserializer<W, AscendingOrder>[src]

impl<W> FormatVersion<NativeBinary> for Deserializer<W, NativeBinary>[src]

impl<W> FormatVersion<PortableBinary> for Deserializer<W, PortableBinary>[src]

impl<'a, 'de: 'a, R, P> VariantAccess<'de> for &'a mut Deserializer<R, P> where
    R: TailReadBytes,
    P: SerializerParams
[src]

type Error = Error

The error type that can be returned if some error occurs during deserialization. Must match the error type of our EnumAccess. Read more

Auto Trait Implementations

impl<R, P> RefUnwindSafe for Deserializer<R, P> where
    P: RefUnwindSafe,
    R: RefUnwindSafe
[src]

impl<R, P> Send for Deserializer<R, P> where
    P: Send,
    R: Send
[src]

impl<R, P> Sync for Deserializer<R, P> where
    P: Sync,
    R: Sync
[src]

impl<R, P> Unpin for Deserializer<R, P> where
    P: Unpin,
    R: Unpin
[src]

impl<R, P> UnwindSafe for Deserializer<R, P> where
    P: UnwindSafe,
    R: UnwindSafe
[src]

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.