[][src]Struct dialectic::types::Done

pub struct Done;

A finished session. The only thing to do with a Chan when it is Done is to drop it or, preferably, close it.

Trait Implementations

impl<E: Environment> Actionable<E> for Done[src]

type Action = Done

The next actual channel action: Send, Recv, Offer, Choose, or Split. This steps through Loop, Break, and Continue transparently. Read more

type Env = ()

The environment resulting from stepping through one or many Loop, Break, or Continue points to the next real channel action. Read more

impl Clone for Done[src]

impl Copy for Done[src]

impl Debug for Done[src]

impl Default for Done[src]

impl Eq for Done[src]

impl Hash for Done[src]

impl Ord for Done[src]

impl PartialEq<Done> for Done[src]

impl PartialOrd<Done> for Done[src]

impl<N: Unary> Scoped<N> for Done[src]

impl Session for Done[src]

type Dual = Done

The dual to this session type, i.e. the session type required of the other end of the channel. Read more

impl StructuralEq for Done[src]

impl StructuralPartialEq for Done[src]

Auto Trait Implementations

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<'a, T> CallBy<'a, Mut> for T where
    T: 'a, 
[src]

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> CallBy<'a, Ref> for T where
    T: 'a, 
[src]

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> CallBy<'a, Val> for T[src]

type Type = T

The type of Self when called by Convention.

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.