Trait mio::TryRead [] [src]

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

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

Required Methods

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

Provided Methods

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

Implementors