[][src]Struct ffsend_api::pipe::PipeWriter

pub struct PipeWriter<P> where
    P: Pipe
{ /* fields omitted */ }

A simple generic writer implementation for a pipe.

This type may be used as simple writer implementation for any pipe. For better performance it is better to implement a custom writer in some situations.

It is recommended to expose a custom writer type definition for each of your pipes like this:

This example is not tested
pub type MyWriter = PipeWriter<MyPipe>;

Trait Implementations

impl<P> PipeWrite<P> for PipeWriter<P> where
    P: Pipe
[src]

impl<P> Write for PipeWriter<P> where
    P: Pipe
[src]

Auto Trait Implementations

impl<P> !Send for PipeWriter<P>

impl<P> Unpin for PipeWriter<P> where
    P: Unpin

impl<P> !Sync for PipeWriter<P>

impl<P> !UnwindSafe for PipeWriter<P>

impl<P> !RefUnwindSafe for PipeWriter<P>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Typeable for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self