pub enum Next {
Continue,
Break,
}
Expand description
Define if next cicle of Flow will be executed
- If any component return
Ok(Next::Break)
flow run will be interrupted and return Ok(Global) - If all component return
Ok(Next::Continue)
flow continue to run for a more cicle - If any component return
Err(_)
, flow will be interrupted and return that Error
Variants§
Trait Implementations§
impl Copy for Next
impl Eq for Next
impl StructuralPartialEq for Next
Auto Trait Implementations§
impl Freeze for Next
impl RefUnwindSafe for Next
impl Send for Next
impl Sync for Next
impl Unpin for Next
impl UnwindSafe for Next
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