Trait dialectic::types::Actionable [−][src]
Each session type has a canonical Actionable::NextAction
, the session type which corresponds
to the next thing to do on the channel. For most types, this is the same as Self
, but for
control constructs like Loop
, this corresponds to the inside of the Loop
.
💡 In general, you should prefer the Session
trait to the Actionable
trait, since
Session
also ensures that a given type is a valid session type and provides other
functionality.
Associated Types
type NextAction: Actionable<NextAction = Self::NextAction>
[src]
Implementors
impl Actionable for Done
[src]
type NextAction = Self
impl<Choices: 'static> Actionable for Choose<Choices>
[src]
type NextAction = Self
impl<Choices: 'static> Actionable for Offer<Choices>
[src]
type NextAction = Self
impl<P> Actionable for Loop<P> where
P: Subst<Loop<P>, Z>,
P::Substituted: Actionable,
[src]
P: Subst<Loop<P>, Z>,
P::Substituted: Actionable,