pub enum NextAction {
Complete,
Continue(Box<dyn Workflow + Send + Sync>),
Suggest(Vec<String>),
}Expand description
Represents the next action in a workflow
Variants§
Complete
Workflow is complete
Continue(Box<dyn Workflow + Send + Sync>)
Continue to another workflow
Suggest(Vec<String>)
Suggest actions to the user
Auto Trait Implementations§
impl !RefUnwindSafe for NextAction
impl !UnwindSafe for NextAction
impl Freeze for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
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