Struct tokio::net::unix::WriteHalf [−][src]
pub struct WriteHalf<'a>(_);
Borrowed write half of a UnixStream, created by split.
Note that in the AsyncWrite implementation of this type, poll_shutdown will
shut down the UnixStream stream in the write direction.
Writing to an WriteHalf is usually done using the convenience methods found
on the AsyncWriteExt trait.
Trait Implementations
impl AsRef<UnixStream> for WriteHalf<'_>[src]
impl AsRef<UnixStream> for WriteHalf<'_>[src]fn as_ref(&self) -> &UnixStream[src]
impl AsyncWrite for WriteHalf<'_>[src]
impl AsyncWrite for WriteHalf<'_>[src]fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize>>[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize>>