Struct futures::stream::IntoAsyncRead[][src]

#[must_use = "readers do nothing unless polled"]pub struct IntoAsyncRead<St> where
    St: TryStream<Error = Error> + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>, 
{ /* fields omitted */ }

Reader for the into_async_read method.

Trait Implementations

impl<St> AsyncBufRead for IntoAsyncRead<St> where
    St: TryStream<Error = Error> + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>, 
[src]

impl<St> AsyncRead for IntoAsyncRead<St> where
    St: TryStream<Error = Error> + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>, 
[src]

impl<St> AsyncWrite for IntoAsyncRead<St> where
    St: TryStream<Error = Error> + AsyncWrite + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>, 
[src]

impl<St> Debug for IntoAsyncRead<St> where
    St: Debug + TryStream<Error = Error> + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>,
    <St as TryStream>::Ok: Debug
[src]

impl<St> Unpin for IntoAsyncRead<St> where
    St: TryStream<Error = Error> + Unpin,
    <St as TryStream>::Ok: AsRef<[u8]>, 
[src]

Auto Trait Implementations

impl<St> RefUnwindSafe for IntoAsyncRead<St> where
    St: RefUnwindSafe,
    <St as TryStream>::Ok: RefUnwindSafe

impl<St> Send for IntoAsyncRead<St> where
    St: Send,
    <St as TryStream>::Ok: Send

impl<St> Sync for IntoAsyncRead<St> where
    St: Sync,
    <St as TryStream>::Ok: Sync

impl<St> UnwindSafe for IntoAsyncRead<St> where
    St: UnwindSafe,
    <St as TryStream>::Ok: UnwindSafe

Blanket Implementations

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

impl<R> AsyncBufReadExt for R where
    R: AsyncBufRead + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?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.