Struct rmp::decode::serialize::Decoder
[−]
[src]
pub struct Decoder<R: Read> { // some 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>
fn new(rd: R) -> Decoder<R>
fn get_ref(&self) -> &R
Gets a reference to the underlying reader in this decoder.
fn get_mut(&mut self) -> &mut R
Gets a mutable reference to the underlying reader in this decoder.
fn into_inner(self) -> R
Consumes this decoder returning the underlying reader.
Trait Implementations
impl<R: Read> Decoder for Decoder<R>
Unstable: docs; examples; incomplete