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]
impl<T> Debug for ReadHalf<T> where
T: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<R> AsyncRead for ReadHalf<R> where
R: AsyncRead,
[src]
impl<R> AsyncRead for ReadHalf<R> where
R: AsyncRead,
fn poll_read(
&mut self,
cx: &mut Context,
buf: &mut [u8]
) -> Poll<Result<usize, Error>>
[src]
fn poll_read(
&mut self,
cx: &mut Context,
buf: &mut [u8]
) -> Poll<Result<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]
) -> Poll<Result<usize, Error>>
[src]
fn poll_vectored_read(
&mut self,
cx: &mut Context,
vec: &mut [&mut IoVec]
) -> Poll<Result<usize, Error>>
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