[][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<Io, St, Codec> Sink for ConnectResult<Io, St, Codec> where
    Io: AsyncRead + AsyncWrite,
    Codec: Encoder + Decoder
[src]

type SinkItem = <Codec as Encoder>::Item

The type of value that the sink accepts.

type SinkError = <Codec as Encoder>::Error

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

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

type Item = <Codec as Decoder>::Item

The type of item this stream will yield on success.

type Error = <Codec as Decoder>::Error

The type of error this stream may generate.

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> Unpin for ConnectResult<Io, St, Codec> where
    Codec: Unpin,
    Io: Unpin,
    St: Unpin,
    <Codec as Encoder>::Item: Unpin

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

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

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

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]