Trait Session

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

Required Associated Types§

Source

type Dual: Session<Dual = Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Session for End

Source§

impl<T: Send, S: Session> Session for Recv<T, S>

Source§

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

Source§

impl<T: Send, S: Session> Session for Send<T, S>

Source§

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