[][src]Struct roa::stream::AsyncStream

pub struct AsyncStream<IO>(pub IO);

A adaptor between futures::io::{AsyncRead, AsyncWrite} and tokio::io::{AsyncRead, AsyncWrite}.

Trait Implementations

impl<IO> AsyncRead for AsyncStream<IO> where
    IO: Unpin + AsyncRead
[src]

impl<IO> AsyncRead for AsyncStream<IO> where
    IO: Unpin + Read
[src]

impl<IO> AsyncWrite for AsyncStream<IO> where
    IO: Unpin + AsyncWrite
[src]

impl<IO> AsyncWrite for AsyncStream<IO> where
    IO: Unpin + Write
[src]

Auto Trait Implementations

impl<IO> RefUnwindSafe for AsyncStream<IO> where
    IO: RefUnwindSafe

impl<IO> Send for AsyncStream<IO> where
    IO: Send

impl<IO> Sync for AsyncStream<IO> where
    IO: Sync

impl<IO> Unpin for AsyncStream<IO> where
    IO: Unpin

impl<IO> UnwindSafe for AsyncStream<IO> where
    IO: UnwindSafe

Blanket Implementations

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

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?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> ReadExt for T where
    T: AsyncRead + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WriteExt for T where
    T: AsyncWrite + ?Sized
[src]