[][src]Struct pwn::io::StreamReader

pub struct StreamReader<S, B> { /* fields omitted */ }

Convert a stream of byte chunks into an AsyncRead.

This type is usually created using the stream_reader function.

Trait Implementations

impl<S, B> AsyncBufRead for StreamReader<S, B> where
    B: Buf,
    S: Stream<Item = Result<B, Error>>, 
[src]

impl<S, B> AsyncRead for StreamReader<S, B> where
    B: Buf,
    S: Stream<Item = Result<B, Error>>, 
[src]

impl<S, B> Debug for StreamReader<S, B> where
    B: Debug,
    S: Debug
[src]

impl<'__pin, S, B> Unpin for StreamReader<S, B> where
    __Origin<'__pin, S, B>: Unpin
[src]

Auto Trait Implementations

impl<S, B> RefUnwindSafe for StreamReader<S, B> where
    B: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, B> Send for StreamReader<S, B> where
    B: Send,
    S: Send

impl<S, B> Sync for StreamReader<S, B> where
    B: Sync,
    S: Sync

impl<S, B> UnwindSafe for StreamReader<S, B> where
    B: UnwindSafe,
    S: 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<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.