[][src]Struct requiem_ioframe::Connect

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

Methods

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

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

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
[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, 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.