Struct rmp::decode::serde::Deserializer
[−]
[src]
pub struct Deserializer<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> Deserializer<R>
fn new(rd: R) -> Deserializer<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> Deserializer for Deserializer<R>
Unstable: docs; examples; incomplete