Struct tokio::io::WriteHalf [] [src]

pub struct WriteHalf<T> { /* fields omitted */ }

The writable half of an object returned from AsyncRead::split.

Trait Implementations

impl<T> AsyncWrite for WriteHalf<T> where
    T: AsyncWrite
[src]

Initiates or attempts to shut down this writer, returning success when the I/O connection has completely shut down. Read more

Write a Buf into this value, returning how many bytes were written. Read more

Attempt to write bytes from buf into the object. Read more

Attempt to flush the object, ensuring that any buffered data reach their destination. Read more

impl<T> Write for WriteHalf<T> where
    T: AsyncWrite
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Important traits for &'a mut R

Creates a "by reference" adaptor for this instance of Write. Read more

impl<T> Debug for WriteHalf<T> where
    T: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for WriteHalf<T> where
    T: Send

impl<T> Sync for WriteHalf<T> where
    T: Send