[][src]Trait backplane::stream_read::StreamRead

pub trait StreamRead {
    fn read_bytes(
        &mut self,
        bytes: &mut BytesMut,
        num_bytes: usize
    ) -> Result<usize, String>; }

Required methods

fn read_bytes(
    &mut self,
    bytes: &mut BytesMut,
    num_bytes: usize
) -> Result<usize, String>

Loading content...

Implementations on Foreign Types

impl StreamRead for TcpStream[src]

impl StreamRead for BufReader<File>[src]

impl StreamRead for UdpSocket[src]

Loading content...

Implementors

Loading content...