[][src]Struct bytekey_fix::de::Deserializer

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

A decoder for deserializing bytes from an order preserving format to a value.

Please see the Serializer documentation for a precise overview of the bytekey format.

Implementations

impl<R: Read> Deserializer<R>[src]

pub fn new(reader: R) -> Deserializer<R>[src]

Creates a new ordered bytes encoder whose output will be written to the provided writer.

pub fn deserialize_var_u64(&mut self) -> Result<u64>[src]

Deserialize a u64 that has been serialized using the serialize_var_u64 method.

pub fn deserialize_var_i64(&mut self) -> Result<i64>[src]

Deserialize an i64 that has been serialized using the serialize_var_i64 method.

Trait Implementations

impl<R: Debug> Debug for Deserializer<R>[src]

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

type Error = Error

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

impl<'de, 'a, R> EnumAccess<'de> for &'a mut Deserializer<R> where
    R: BufRead
[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<'de, 'a, R> VariantAccess<'de> for &'a mut Deserializer<R> where
    R: BufRead
[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> RefUnwindSafe for Deserializer<R> where
    R: RefUnwindSafe

impl<R> Send for Deserializer<R> where
    R: Send

impl<R> Sync for Deserializer<R> where
    R: Sync

impl<R> Unpin for Deserializer<R> where
    R: Unpin

impl<R> UnwindSafe for Deserializer<R> where
    R: UnwindSafe

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.