pub enum LoopVerdict {
Continue,
Done,
Failed(String),
}Expand description
Predicate verdict for LoopFlow.
Variants§
Continue
Run another iteration.
Done
Terminate; return the most recent output.
Failed(String)
Terminate with a FlowError::Loop containing this reason.
Trait Implementations§
Source§impl Clone for LoopVerdict
impl Clone for LoopVerdict
Source§fn clone(&self) -> LoopVerdict
fn clone(&self) -> LoopVerdict
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 moreAuto Trait Implementations§
impl Freeze for LoopVerdict
impl RefUnwindSafe for LoopVerdict
impl Send for LoopVerdict
impl Sync for LoopVerdict
impl Unpin for LoopVerdict
impl UnsafeUnpin for LoopVerdict
impl UnwindSafe for LoopVerdict
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