#[non_exhaustive]pub enum ItemFlow {
Continue,
StopChain,
}Expand description
What the executor does after an item runs successfully: keep dispatching, or abort the enclosing chain/graph.
This is the success payload only. The fallible outcome of an
execute call — either this flow directive or an ItemError — is
wrapped by ExecuteResult.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Continue
Continue scheduling normally.
StopChain
Abort the enclosing chain or graph (no further items dispatched).
Trait Implementations§
impl Copy for ItemFlow
impl Eq for ItemFlow
impl StructuralPartialEq for ItemFlow
Auto Trait Implementations§
impl Freeze for ItemFlow
impl RefUnwindSafe for ItemFlow
impl Send for ItemFlow
impl Sync for ItemFlow
impl Unpin for ItemFlow
impl UnsafeUnpin for ItemFlow
impl UnwindSafe for ItemFlow
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