pub enum TransitionEvaluation {
Ready {
target: String,
transition_index: usize,
},
Blocked {
target: String,
transition_index: usize,
missing: Vec<String>,
},
}Expand description
Result of evaluating outbound transitions.
Variants§
Ready
A transition can be committed immediately.
Fields
Blocked
A transition guard matched, but the target phase is missing required state that its preparations may be able to materialize.
Trait Implementations§
Source§impl Clone for TransitionEvaluation
impl Clone for TransitionEvaluation
Source§fn clone(&self) -> TransitionEvaluation
fn clone(&self) -> TransitionEvaluation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransitionEvaluation
impl Debug for TransitionEvaluation
Source§impl PartialEq for TransitionEvaluation
impl PartialEq for TransitionEvaluation
impl Eq for TransitionEvaluation
impl StructuralPartialEq for TransitionEvaluation
Auto Trait Implementations§
impl Freeze for TransitionEvaluation
impl RefUnwindSafe for TransitionEvaluation
impl Send for TransitionEvaluation
impl Sync for TransitionEvaluation
impl Unpin for TransitionEvaluation
impl UnwindSafe for TransitionEvaluation
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more