Trait Session
rusty_variation
pub trait Session: Sized + Send { type Dual: Session<Dual = Self>; }
type Dual: Session<Dual = Self>
impl Session for End type Dual = End;
impl<T: Send, S: Session> Session for Send<T, S> type Dual = Recv<T, S::Dual>;
impl<T: Send, S: Session> Session for Recv<T, S> type Dual = Send<T, S::Dual>;