Struct futures_util::io::ReadHalf
[−]
[src]
pub struct ReadHalf<T> { /* fields omitted */ }
The readable half of an object returned from AsyncRead::split
.
Trait Implementations
impl<T: Debug> Debug for ReadHalf<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: AsyncRead> AsyncRead for ReadHalf<T>
[src]
fn poll_read(&mut self, cx: &mut Context, buf: &mut [u8]) -> Poll<usize, Error>
[src]
Attempt to read from the AsyncRead
into buf
. Read more
fn poll_vectored_read(
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Poll<usize, Error>
[src]
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Poll<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