pub enum Flow {
Continue,
Return,
Break(Option<Arc<String>>),
ContinueLoop(Option<Arc<String>>),
}
Expand description
Stores return flow, used to continue executing, return, break out of loop or continue loop.
Variants§
Continue
Continues execution.
Return
Return from function.
Break(Option<Arc<String>>)
Break loop, with optional label.
ContinueLoop(Option<Arc<String>>)
Continue loop, with optional label.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnwindSafe for Flow
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