Struct tokio::net::unix::WriteHalf [−][src]
pub struct WriteHalf<'a>(_);
Expand description
Write half of a UnixStream
.
Trait Implementations
impl AsRef<UnixStream> for WriteHalf<'_>
[src]
impl AsRef<UnixStream> for WriteHalf<'_>
[src]fn as_ref(&self) -> &UnixStream
[src]
fn as_ref(&self) -> &UnixStream
[src]Performs the conversion.
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]
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize>>
[src]Attempt to write bytes from buf
into the object. Read more
fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<()>>
[src]
fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<()>>
[src]Attempts to flush the object, ensuring that any buffered data reach their destination. Read more