Struct rmp_serialize::decode::Decoder [] [src]

pub struct Decoder<R: Read> { /* fields omitted */ }

Note

All instances of ErrorKind::Interrupted are handled by this function and the underlying operation is retried.

Methods

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

Gets a reference to the underlying reader in this decoder.

Gets a mutable reference to the underlying reader in this decoder.

Consumes this decoder returning the underlying reader.

Trait Implementations

impl<R: Read> Decoder for Decoder<R>
[src]

Unstable: docs; examples; incomplete

The error type for method results.

Read a nil value.

Read a bool value.

Read a u8 value.

Read a u16 value.

Read a u32 value.

Read a u64 value.

Read a usize value.

Read a i8 value.

Read a i16 value.

Read a i32 value.

Read a i64 value.

Read a isize value.

Read a f32 value.

Read a f64 value.

Read a char value.

Read a string value.

Read an enumeration value. Read more

Read an enumeration value. Read more

Read an unnamed data item for an enumeration variant. Read more

Read an enumeration value. Read more

Read a named data item for an enumeration variant. Read more

Read an struct value. Read more

Read a field for a struct value. Read more

Read a tuple value. Read more

Read a data item for a tuple. Read more

Read a tuple struct value. Read more

Read a data item for a tuple struct. Read more

We treat Value::Null as None.

Read a sequence of values. Read more

Read an element in the sequence. Read more

Read an associative container (map). Read more

Read the key for an entry in a map. Read more

Read the value for an entry in a map. Read more

Record a decoding error. Read more