[][src]Struct requiem_ioframe::ConnectResult

pub struct ConnectResult<Io, St, Codec: Encoder + Decoder, Out> { /* fields omitted */ }

Methods

impl<Io, St, Codec: Encoder + Decoder, Out: Unpin> ConnectResult<Io, St, Codec, Out>[src]

pub fn get_ref(&self) -> &Io[src]

pub fn get_mut(&mut self) -> &mut Io[src]

pub fn out<U>(self, out: U) -> ConnectResult<Io, St, Codec, U> where
    U: Stream<Item = <Codec as Encoder>::Item> + Unpin
[src]

pub fn state<S>(self, state: S) -> ConnectResult<Io, S, Codec, Out>[src]

Trait Implementations

impl<Io, St, Codec, Out> Sink<<Codec as Encoder>::Item> for ConnectResult<Io, St, Codec, Out> where
    Io: AsyncRead + AsyncWrite,
    Codec: Encoder + Decoder
[src]

type Error = <Codec as Encoder>::Error

The type of value produced by the sink when an error occurs.

impl<Io, St, Codec, Out> Stream for ConnectResult<Io, St, Codec, Out> where
    Io: AsyncRead + AsyncWrite,
    Codec: Encoder + Decoder
[src]

type Item = Result<<Codec as Decoder>::Item, <Codec as Decoder>::Error>

Values yielded by the stream.

impl<'pin, Io, St, Codec: Encoder + Decoder, Out> Unpin for ConnectResult<Io, St, Codec, Out> where
    __ConnectResult<'pin, Io, St, Codec, Out>: Unpin
[src]

Auto Trait Implementations

impl<Io, St, Codec, Out> RefUnwindSafe for ConnectResult<Io, St, Codec, Out> where
    Codec: RefUnwindSafe,
    Io: RefUnwindSafe,
    Out: RefUnwindSafe,
    St: RefUnwindSafe

impl<Io, St, Codec, Out> Send for ConnectResult<Io, St, Codec, Out> where
    Codec: Send,
    Io: Send,
    Out: Send,
    St: Send

impl<Io, St, Codec, Out> Sync for ConnectResult<Io, St, Codec, Out> where
    Codec: Sync,
    Io: Sync,
    Out: Sync,
    St: Sync

impl<Io, St, Codec, Out> UnwindSafe for ConnectResult<Io, St, Codec, Out> where
    Codec: UnwindSafe,
    Io: UnwindSafe,
    Out: UnwindSafe,
    St: 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, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized
[src]

impl<St> StreamExt for St where
    St: Stream + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[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.

impl<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized
[src]