Trait sesh::Session[][src]

pub trait Session: Sized + Send {
    type Dual: Session<Dual = Self>;
}

Trait for session types. Provides duality.

Associated Types

type Dual: Session<Dual = Self>[src]

The session type dual to Self.

Loading content...

Implementors

impl Session for End[src]

type Dual = End

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

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

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

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

Loading content...