[][src]Struct requiem_ioframe::Connect

pub struct Connect<Io, Codec> where
    Codec: Encoder + Decoder
{ /* fields omitted */ }


impl<Io, Codec> Connect<Io, Codec> where
    Io: AsyncRead + AsyncWrite,
    Codec: Encoder + Decoder

pub fn codec(
    codec: Codec
) -> ConnectResult<Io, (), Codec, Receiver<<Codec as Encoder>::Item>>

Auto Trait Implementations

impl<Io, Codec> RefUnwindSafe for Connect<Io, Codec> where
    Codec: RefUnwindSafe,
    Io: RefUnwindSafe

impl<Io, Codec> Send for Connect<Io, Codec> where
    Codec: Send,
    Io: Send

impl<Io, Codec> Sync for Connect<Io, Codec> where
    Codec: Sync,
    Io: Sync

impl<Io, Codec> Unpin for Connect<Io, Codec> where
    Codec: Unpin,
    Io: Unpin

impl<Io, Codec> UnwindSafe for Connect<Io, Codec> where
    Codec: UnwindSafe,
    Io: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.