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]
impl<T: Debug> Debug for ReadHalf<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: AsyncRead> AsyncRead for ReadHalf<R>
[src]
impl<R: AsyncRead> AsyncRead for ReadHalf<R>
fn poll_read(&mut self, cx: &mut Context, buf: &mut [u8]) -> Poll<Result<usize>>
[src]
fn poll_read(&mut self, cx: &mut Context, buf: &mut [u8]) -> Poll<Result<usize>>
Attempt to read from the AsyncRead
into buf
. Read more
fn poll_vectored_read(
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Poll<Result<usize>>
[src]
fn poll_vectored_read(
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Poll<Result<usize>>
Attempt to read from the AsyncRead
into vec
using vectored IO operations. Read more
unsafe fn initializer(&self) -> Initializer
[src]
unsafe fn initializer(&self) -> Initializer
Determines if this AsyncRead
er can work with buffers of uninitialized memory. Read more