Trait dialectic::types::Scoped [−][src]
A session type is Scoped
if none of its Continue
s refer to outside of the
Loop
s which they are within.
💡 In general, you should prefer the Session
trait to the Scoped
trait, since
Session
also ensures that a given type is a valid session type and provides other
functionality.
Implementors
impl<N: Unary> Scoped<N> for Done
[src]
impl<N: Unary, Choices: Tuple + 'static> Scoped<N> for Choose<Choices> where
Choices::AsList: EachScoped<N>,
[src]
Choices::AsList: EachScoped<N>,
impl<N: Unary, Choices: Tuple + 'static> Scoped<N> for Offer<Choices> where
Choices::AsList: EachScoped<N>,
[src]
Choices::AsList: EachScoped<N>,
impl<N: Unary, M: Unary, const I: usize> Scoped<N> for Continue<I> where
Number<I>: ToUnary<AsUnary = M>,
M: LessThan<N>,
[src]
Number<I>: ToUnary<AsUnary = M>,
M: LessThan<N>,