Struct dialectic::types::Call[][src]

pub struct Call<P, Q>(pub P, pub Q);

Call the session P as a subroutine using call, then do the session Q.

Trait Implementations

impl<P: 'static, Q: 'static> Actionable for Call<P, Q>[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<P: Clone, Q: Clone> Clone for Call<P, Q>[src]

impl<P: Copy, Q: Copy> Copy for Call<P, Q>[src]

impl<P: Debug, Q: Debug> Debug for Call<P, Q>[src]

impl<P: Default, Q: Default> Default for Call<P, Q>[src]

impl<P: Eq, Q: Eq> Eq for Call<P, Q>[src]

impl<P: HasDual, Q: HasDual> HasDual for Call<P, Q>[src]

type DualSession = Call<P::DualSession, Q::DualSession>

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

impl<P: Hash, Q: Hash> Hash for Call<P, Q>[src]

impl<N: Unary, Level: Unary, P: Lift<N, Level>, Q: Lift<N, Level>> Lift<N, Level> for Call<P, Q>[src]

type Lifted = Call<P::Lifted, Q::Lifted>

The result of the lifting operation.

impl<P: Ord, Q: Ord> Ord for Call<P, Q>[src]

impl<P: PartialEq, Q: PartialEq> PartialEq<Call<P, Q>> for Call<P, Q>[src]

impl<P: PartialOrd, Q: PartialOrd> PartialOrd<Call<P, Q>> for Call<P, Q>[src]

impl<N: Unary, P: Scoped<N>, Q: Scoped<N>> Scoped<N> for Call<P, Q>[src]

impl<P, Q> StructuralEq for Call<P, Q>[src]

impl<P, Q> StructuralPartialEq for Call<P, Q>[src]

impl<N: Unary, P: Subst<R, N>, Q: Subst<R, N>, R> Subst<R, N> for Call<P, Q>[src]

type Substituted = Call<P::Substituted, Q::Substituted>

The result of the substitution.

impl<N: Unary, P: 'static, Q: Then<R, N>, R> Then<R, N> for Call<P, Q>[src]

type Combined = Call<P, Q::Combined>

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

Auto Trait Implementations

impl<P, Q> RefUnwindSafe for Call<P, Q> where
    P: RefUnwindSafe,
    Q: RefUnwindSafe

impl<P, Q> Send for Call<P, Q> where
    P: Send,
    Q: Send

impl<P, Q> Sync for Call<P, Q> where
    P: Sync,
    Q: Sync

impl<P, Q> Unpin for Call<P, Q> where
    P: Unpin,
    Q: Unpin

impl<P, Q> UnwindSafe for Call<P, Q> where
    P: UnwindSafe,
    Q: UnwindSafe

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.