[−][src]Struct tokio::io::StreamReader
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
S: Stream<Item = Result<B, Error>>,
B: Buf,
[src][+]
S: Stream<Item = Result<B, Error>>,
B: Buf,
impl<S, B> AsyncRead for StreamReader<S, B> where
S: Stream<Item = Result<B, Error>>,
B: Buf,
[src][+]
S: Stream<Item = Result<B, Error>>,
B: Buf,
impl<S: Debug, B: Debug> Debug for StreamReader<S, B>
[src][+]
impl<'__pin, S, B> Unpin for StreamReader<S, B> where
__Origin<'__pin, S, B>: Unpin,
[src]
__Origin<'__pin, S, B>: Unpin,
Auto Trait Implementations
impl<S, B> RefUnwindSafe for StreamReader<S, B> where
B: RefUnwindSafe,
S: RefUnwindSafe,
B: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, B> Send for StreamReader<S, B> where
B: Send,
S: Send,
B: Send,
S: Send,
impl<S, B> Sync for StreamReader<S, B> where
B: Sync,
S: Sync,
B: Sync,
S: Sync,
impl<S, B> UnwindSafe for StreamReader<S, B> where
B: UnwindSafe,
S: UnwindSafe,
B: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,