Struct IntoAsyncRead

struct IntoAsyncRead<St> { ... }
where
    St: TryStream<Error = std::io::Error>,
    <St as >::Ok: AsRef<[u8]>

Reader for the into_async_read method.

Implementations

impl<'__pin, St> Unpin for IntoAsyncRead<St>

impl<R> AsyncBufReadExt for IntoAsyncRead<St>

impl<R> AsyncReadExt for IntoAsyncRead<St>

impl<St> AsyncBufRead for IntoAsyncRead<St>

fn poll_fill_buf(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<&[u8]>>
fn consume(self: Pin<&mut Self>, amount: usize)

impl<St> AsyncRead for IntoAsyncRead<St>

fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut [u8]) -> Poll<Result<usize>>

impl<St> AsyncWrite for IntoAsyncRead<St>

fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll<Result<usize>>
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>

impl<St> Debug for IntoAsyncRead<St>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<St> Freeze for IntoAsyncRead<St>

impl<St> RefUnwindSafe for IntoAsyncRead<St>

impl<St> Send for IntoAsyncRead<St>

impl<St> Sync for IntoAsyncRead<St>

impl<St> UnsafeUnpin for IntoAsyncRead<St>

impl<St> UnwindSafe for IntoAsyncRead<St>

impl<T> Any for IntoAsyncRead<St>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoAsyncRead<St>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoAsyncRead<St>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for IntoAsyncRead<St>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for IntoAsyncRead<St>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoAsyncRead<St>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoAsyncRead<St>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<W> AsyncWriteExt for IntoAsyncRead<St>