[][src]Struct actix_ioframe::ConnectResult

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

Methods

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

pub fn sink(&self) -> &Sink<<Codec as Encoder>::Item>[src]

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

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

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

Trait Implementations

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

impl<Io, St, Codec> Stream for ConnectResult<Io, St, Codec> 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<Io, St, Codec> Sink<<Codec as Encoder>::Item> for ConnectResult<Io, St, Codec> 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.

Auto Trait Implementations

impl<Io, St, Codec> !Send for ConnectResult<Io, St, Codec>

impl<Io, St, Codec> !Sync for ConnectResult<Io, St, Codec>

impl<Io, St, Codec> !UnwindSafe for ConnectResult<Io, St, Codec>

impl<Io, St, Codec> !RefUnwindSafe for ConnectResult<Io, St, Codec>

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized
[src]