pub enum StepResult<State> {
Continue {
node: String,
},
NamedTransition {
node: String,
next: String,
},
Finished {
node: String,
},
Error(GraphError),
// some variants omitted
}Expand description
Result of a single step.
Variants§
Continue
Graph continues to next node.
NamedTransition
Named transition (requires lookup).
Finished
Graph finished.
Error(GraphError)
Error occurred.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<State> Freeze for StepResult<State>
impl<State> RefUnwindSafe for StepResult<State>where
State: RefUnwindSafe,
impl<State> Send for StepResult<State>where
State: Send,
impl<State> Sync for StepResult<State>where
State: Sync,
impl<State> Unpin for StepResult<State>where
State: Unpin,
impl<State> UnwindSafe for StepResult<State>where
State: UnwindSafe,
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