pub enum ChoiceKind {
Internal,
External,
Mixed,
}Expand description
Which role selects a transition at a protocol state.
Variants§
Internal
This role selects the transition.
External
The peer selects the transition.
Mixed
Legal transitions include choices by both roles.
Implementations§
Source§impl ChoiceKind
Directional operations on ChoiceKind.
impl ChoiceKind
Directional operations on ChoiceKind.
Trait Implementations§
Source§impl Clone for ChoiceKind
impl Clone for ChoiceKind
Source§fn clone(&self) -> ChoiceKind
fn clone(&self) -> ChoiceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChoiceKind
Source§impl Debug for ChoiceKind
impl Debug for ChoiceKind
impl Eq for ChoiceKind
Source§impl PartialEq for ChoiceKind
impl PartialEq for ChoiceKind
impl StructuralPartialEq for ChoiceKind
Auto Trait Implementations§
impl Freeze for ChoiceKind
impl RefUnwindSafe for ChoiceKind
impl Send for ChoiceKind
impl Sync for ChoiceKind
impl Unpin for ChoiceKind
impl UnsafeUnpin for ChoiceKind
impl UnwindSafe for ChoiceKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more