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]
impl<T: Debug> Debug for WriteHalf<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<W: AsyncWrite> AsyncWrite for WriteHalf<W>
[src]
impl<W: AsyncWrite> AsyncWrite for WriteHalf<W>
fn poll_write(&mut self, cx: &mut Context, buf: &[u8]) -> Poll<Result<usize>>
[src]
fn poll_write(&mut self, cx: &mut Context, buf: &[u8]) -> Poll<Result<usize>>
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>>
[src]
fn poll_vectored_write(
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<Result<usize>>
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<()>>
[src]
fn poll_flush(&mut self, cx: &mut Context) -> Poll<Result<()>>
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<()>>
[src]
fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<()>>
Attempt to close the object. Read more