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

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 Actionable for Done[src]

type NextAction = Self

The next actual channel action, which must be one of Send, Recv, Offer, Choose, Split, Call, or Done. 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 HasDual for Done[src]

type DualSession = Done

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

impl Hash for Done[src]

impl<N: Unary, Level: Unary> Lift<N, Level> for Done[src]

type Lifted = Done

The result of the lifting operation.

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 StructuralEq for Done[src]

impl StructuralPartialEq for Done[src]

impl<P, N: Unary> Subst<P, N> for Done[src]

type Substituted = Done

The result of the substitution.

impl<P, N: Unary> Then<P, N> for Done where
    P: Lift<N>, 
[src]

type Combined = P::Lifted

The combined type resulting from substituting P for Done in Self.

Auto Trait Implementations

impl RefUnwindSafe for Done

impl Send for Done

impl Sync for Done

impl Unpin for Done

impl UnwindSafe for Done

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T, S> As<'a, Val, T> for S where
    S: Into<T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> By<'a, Mut> for T where
    T: 'a, 
[src]

type Type = &'a mut T

The type of Self when called by Convention.

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

type Type = &'a T

The type of Self when called by Convention.

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

type Type = T

The type of Self when called by Convention.

impl<'a, T> Convert<'a, Mut, Mut> for T where
    T: 'a, 
[src]

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

impl<'a, T> Convert<'a, Mut, Val> for T where
    T: 'a + Clone
[src]

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

impl<'a, T> Convert<'a, Ref, Val> for T where
    T: 'a + Clone
[src]

impl<'a, T> Convert<'a, Val, Val> for T[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.