Struct tokio::io::WriteHalf [−][src]
pub struct WriteHalf<T> { /* fields omitted */ }
The writable half of a value returned from split
.
Implementations
impl<T> WriteHalf<T>
[src]
impl<T> WriteHalf<T>
[src]pub fn is_pair_of(&self, other: &ReadHalf<T>) -> bool
[src]
Check if this WriteHalf
and some ReadHalf
were split from the same
stream.
Trait Implementations
impl<T: AsyncWrite> AsyncWrite for WriteHalf<T>
[src]
impl<T: AsyncWrite> AsyncWrite for WriteHalf<T>
[src]fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<usize, Error>>
fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
fn poll_shutdown(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Result<(), Error>>
fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize, Error>>