Struct futures::io::ReadHalf
[−]
[src]
pub struct ReadHalf<T> { /* fields omitted */ }
The readable half of an object returned from AsyncRead::split
.
Trait Implementations
impl<T> Debug for ReadHalf<T> where
T: Debug,
[src]
T: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<T> AsyncRead for ReadHalf<T> where
T: AsyncRead,
[src]
T: AsyncRead,
fn poll_read(
&mut self,
cx: &mut Context,
buf: &mut [u8]
) -> Result<Async<usize>, Error>
[src]
&mut self,
cx: &mut Context,
buf: &mut [u8]
) -> Result<Async<usize>, Error>
Attempt to read from the AsyncRead
into buf
. Read more
fn poll_vectored_read(
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Result<Async<usize>, Error>
[src]
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Result<Async<usize>, Error>
Attempt to read from the AsyncRead
into vec
using vectored IO operations. Read more
unsafe fn initializer(&self) -> Initializer
[src]
Determines if this AsyncRead
er can work with buffers of uninitialized memory. Read more