[][src]Struct piper::Writer

pub struct Writer { /* fields omitted */ }

The writing side of a pipe.

This struct is created by the pipe function. See its documentation for more.

Examples

use futures::prelude::*;

let (mut r, mut w) = piper::pipe(1024);
w.write_all(b"hello").await?;

Trait Implementations

impl AsyncWrite for Writer[src]

impl<'_> AsyncWrite for &'_ Writer[src]

impl Debug for Writer[src]

impl Drop for Writer[src]

impl Send for Writer[src]

Auto Trait Implementations

impl !RefUnwindSafe for Writer

impl !Sync for Writer

impl Unpin for Writer

impl !UnwindSafe for Writer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.