[][src]Struct ffsend_api::pipe::PipeReader

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

A simple generic reader implementation for a pipe.

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

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

This example is not tested
pub type MyReader = PipeReader<MyPipe>;

Trait Implementations

impl<P> PipeRead<P> for PipeReader<P> where
    P: Pipe
[src]

impl<P> Read for PipeReader<P> where
    P: Pipe
[src]

Auto Trait Implementations

impl<P> !Send for PipeReader<P>

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

impl<P> !Sync for PipeReader<P>

impl<P> !UnwindSafe for PipeReader<P>

impl<P> !RefUnwindSafe for PipeReader<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<R> ReadBytesExt for R where
    R: Read + ?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