pub enum StepResult {
Continue,
NeedsInput(InputRequired),
Complete,
Failed(String),
}Expand description
Result of advancing one step.
Variants§
Continue
Keep going, call advance() again.
NeedsInput(InputRequired)
Workflow needs input from caller.
Complete
Done successfully.
Failed(String)
Failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnwindSafe for StepResult
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