Struct ReaderStream
struct ReaderStream<R> { ... }
Convert an AsyncRead into a Stream of byte chunks.
This stream is fused. It performs the inverse operation of
StreamReader.
Example
#
# async
Implementations
impl<R: AsyncRead> ReaderStream<R>
impl<'__pin, R> Unpin for ReaderStream<R>
impl<R> Freeze for ReaderStream<R>
impl<R> RefUnwindSafe for ReaderStream<R>
impl<R> Send for ReaderStream<R>
impl<R> Sync for ReaderStream<R>
impl<R> UnsafeUnpin for ReaderStream<R>
impl<R> UnwindSafe for ReaderStream<R>
impl<R: $crate::fmt::Debug> Debug for ReaderStream<R>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<R: AsyncRead> Stream for ReaderStream<R>
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<<Self as >::Item>>
impl<S, T, E> TryStream for ReaderStream<R>
fn try_poll_next(self: Pin<&mut S>, cx: &mut Context<'_>) -> Poll<Option<Result<<S as TryStream>::Ok, <S as TryStream>::Error>>>
impl<T> Any for ReaderStream<R>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ReaderStream<R>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ReaderStream<R>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for ReaderStream<R>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for ReaderStream<R>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ReaderStream<R>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ReaderStream<R>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>