Trait mio::prelude::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
Provided Methods
Implementors
impl<T: Read> TryRead for T