Skip to main content

ReadExt

Trait ReadExt 

Source
pub trait ReadExt<R: Read> {
    // Required method
    fn read_rmp<T>(&mut self) -> Result<T, PacketFrameReadError>
       where T: DeserializeOwned,
             R: Read;
}

Required Methods§

Source

fn read_rmp<T>(&mut self) -> Result<T, PacketFrameReadError>
where T: DeserializeOwned, R: Read,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R: Read> ReadExt<R> for R