Struct tokio::net::unix::OwnedWriteHalf [−][src]
pub struct OwnedWriteHalf { /* fields omitted */ }
Expand description
Owned write half of a UnixStream
, created by into_split
.
Note that in the AsyncWrite
implementation of this type,
poll_shutdown
will shut down the stream in the write direction.
Dropping the write half will also shut down the write half of the stream.
Writing to an OwnedWriteHalf
is usually done using the convenience methods
found on the AsyncWriteExt
trait.
Implementations
Attempts to put the two halves of a UnixStream
back together and
recover the original socket. Succeeds only if the two halves
originated from the same call to into_split
.
Trait Implementations
Performs the conversion.
Attempt to write bytes from buf
into the object. Read more
Like poll_write
, except that it writes from a slice of buffers. Read more
Determines if this writer has an efficient poll_write_vectored
implementation. Read more
Attempts to flush the object, ensuring that any buffered data reach their destination. Read more