pub struct StepContext<Backend> {
pub current_step: usize,
pub backend: Backend,
pub has_next: bool,
}Expand description
Context information for the current step in the workflow
Fields§
§current_step: usizeIndex of the current step
backend: BackendBackend associated with the current step
has_next: boolIndicates if there is a next step
Implementations§
Trait Implementations§
Source§impl<Backend: Clone> Clone for StepContext<Backend>
impl<Backend: Clone> Clone for StepContext<Backend>
Source§fn clone(&self) -> StepContext<Backend>
fn clone(&self) -> StepContext<Backend>
Returns a duplicate of the value. Read more
1.0.0 · 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<Backend> Freeze for StepContext<Backend>where
Backend: Freeze,
impl<Backend> RefUnwindSafe for StepContext<Backend>where
Backend: RefUnwindSafe,
impl<Backend> Send for StepContext<Backend>where
Backend: Send,
impl<Backend> Sync for StepContext<Backend>where
Backend: Sync,
impl<Backend> Unpin for StepContext<Backend>where
Backend: Unpin,
impl<Backend> UnwindSafe for StepContext<Backend>where
Backend: 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