Trait embedded_websocket::framer::Stream[][src]

pub trait Stream<E> {
    fn read(&mut self, buf: &mut [u8]) -> Result<usize, E>;
fn write_all(&mut self, buf: &[u8]) -> Result<(), E>; }

Required methods

fn read(&mut self, buf: &mut [u8]) -> Result<usize, E>[src]

fn write_all(&mut self, buf: &[u8]) -> Result<(), E>[src]

Loading content...

Implementations on Foreign Types

impl Stream<Error> for TcpStream[src]

Loading content...

Implementors

Loading content...