Struct sesh::Send[][src]

#[must_use]pub struct Send<T, S> where
    T: Send,
    S: Session,
    S::Dual: Session
{ /* fields omitted */ }

Send T, then continue as S.

Trait Implementations

impl<T: Debug, S: Debug> Debug for Send<T, S> where
    T: Send,
    S: Session,
    S::Dual: Session,
    S::Dual: Debug
[src]

impl<T: Send, S: Session> Session for Send<T, S>[src]

type Dual = Recv<T, S::Dual>

The session type dual to Self.

Auto Trait Implementations

impl<T, S> RefUnwindSafe for Send<T, S>[src]

impl<T, S> Send for Send<T, S>[src]

impl<T, S> Sync for Send<T, S>[src]

impl<T, S> Unpin for Send<T, S>[src]

impl<T, S> UnwindSafe for Send<T, S>[src]

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.