pub enum GateAggregate {
AllPassed,
SomeWaiting,
Skipped(SkipReason),
}Expand description
Aggregate gate outcome — what the cohort of gates collectively said. Per §III.9 individual gates return Pass / Wait / Skip; the aggregate is the worst outcome (Skip > Wait > Pass) per a typed reducer in shigoto-gate. We carry the rolled-up result here so the FSM stays language-agnostic about how the rollup is computed.
kind() + variant predicates auto-generated via gen-platform.
Variants§
AllPassed
Every gate returned Pass — job advances to Ready.
SomeWaiting
At least one gate returned Wait — job stays Gated.
Skipped(SkipReason)
At least one gate returned Skip — job advances to Skipped with that reason.
Implementations§
Source§impl GateAggregate
impl GateAggregate
Source§impl GateAggregate
impl GateAggregate
pub const fn is_all_passed(&self) -> bool
pub const fn is_some_waiting(&self) -> bool
pub const fn is_skipped(&self) -> bool
Trait Implementations§
Source§impl Clone for GateAggregate
impl Clone for GateAggregate
Source§fn clone(&self) -> GateAggregate
fn clone(&self) -> GateAggregate
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 moreSource§impl Debug for GateAggregate
impl Debug for GateAggregate
impl Eq for GateAggregate
Source§impl PartialEq for GateAggregate
impl PartialEq for GateAggregate
Source§fn eq(&self, other: &GateAggregate) -> bool
fn eq(&self, other: &GateAggregate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GateAggregate
Auto Trait Implementations§
impl Freeze for GateAggregate
impl RefUnwindSafe for GateAggregate
impl Send for GateAggregate
impl Sync for GateAggregate
impl Unpin for GateAggregate
impl UnsafeUnpin for GateAggregate
impl UnwindSafe for GateAggregate
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.