pub enum DecisionEdgeOutcome {
Rejected,
Transition,
Hold,
Shadowed {
by: usize,
},
}Expand description
An edge’s disposition for one proposed update. See DecisionState::explain.
Variants§
Rejected
At least one source, sensor or timer check failed.
Transition
The first matching edge changes state and resets elapsed time.
Hold
The first matching edge targets the current state, retaining elapsed time.
Shadowed
All checks pass, but the earlier edge at by wins, even if it holds.
Trait Implementations§
Source§impl Clone for DecisionEdgeOutcome
impl Clone for DecisionEdgeOutcome
Source§fn clone(&self) -> DecisionEdgeOutcome
fn clone(&self) -> DecisionEdgeOutcome
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 DecisionEdgeOutcome
impl Debug for DecisionEdgeOutcome
Source§impl PartialEq for DecisionEdgeOutcome
impl PartialEq for DecisionEdgeOutcome
impl Copy for DecisionEdgeOutcome
impl Eq for DecisionEdgeOutcome
impl StructuralPartialEq for DecisionEdgeOutcome
Auto Trait Implementations§
impl Freeze for DecisionEdgeOutcome
impl RefUnwindSafe for DecisionEdgeOutcome
impl Send for DecisionEdgeOutcome
impl Sync for DecisionEdgeOutcome
impl Unpin for DecisionEdgeOutcome
impl UnwindSafe for DecisionEdgeOutcome
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