Struct futures::io::WriteHalf [−][src]
pub struct WriteHalf<T> { /* fields omitted */ }
The writable half of an object returned from AsyncRead::split
.
Trait Implementations
impl<W> AsyncWrite for WriteHalf<W> where
W: AsyncWrite,
[src]
impl<W> AsyncWrite for WriteHalf<W> where
W: AsyncWrite,
fn poll_write(
&mut self,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
[src]
fn poll_write(
&mut self,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
Attempt to write bytes from buf
into the object. Read more
fn poll_vectored_write(
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<Result<usize, Error>>
[src]
fn poll_vectored_write(
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<Result<usize, Error>>
Attempt to write bytes from vec
into the object using vectored IO operations. Read more
fn poll_flush(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_flush(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
Attempt to close the object. Read more
impl<T> Debug for WriteHalf<T> where
T: Debug,
[src]
impl<T> Debug for WriteHalf<T> where
T: Debug,