Struct futures_util::io::WriteHalf
[−]
[src]
pub struct WriteHalf<T> { /* fields omitted */ }
The writable half of an object returned from AsyncRead::split
.
Trait Implementations
impl<T: Debug> Debug for WriteHalf<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: AsyncWrite> AsyncWrite for WriteHalf<T>
[src]
fn poll_write(&mut self, cx: &mut Context, buf: &[u8]) -> Poll<usize, Error>
[src]
Attempt to write bytes from buf
into the object. Read more
fn poll_vectored_write(
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<usize, Error>
[src]
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<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<(), Error>
[src]
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
fn poll_close(&mut self, cx: &mut Context) -> Poll<(), Error>
[src]
Attempt to close the object. Read more