Trait rotor::mio::prelude::TryRead [] [src]

pub trait TryRead {
    fn try_read(&mut self, buf: &mut [u8]) -> Result<Option<usize>, Error>;

    fn try_read_buf<B>(&mut self, buf: &mut B) -> Result<Option<usize>, Error> where B: MutBuf { ... }
}

Required Methods

fn try_read(&mut self, buf: &mut [u8]) -> Result<Option<usize>, Error>

Provided Methods

fn try_read_buf<B>(&mut self, buf: &mut B) -> Result<Option<usize>, Error> where B: MutBuf

Implementors