pub struct StepContext<B>where
B: WireFormatBackend,{
pub current_step: usize,
pub backend: B,
pub has_next: bool,
}Expand description
Context information for the current step in the workflow
Fields§
§current_step: usizeIndex of the current step
backend: BBackend associated with the current step
has_next: boolIndicates if there is a next step
Implementations§
Source§impl<B> StepContext<B>where
B: WireFormatBackend,
impl<B> StepContext<B>where
B: WireFormatBackend,
Trait Implementations§
Source§impl<B> Clone for StepContext<B>where
B: WireFormatBackend + Clone,
impl<B> Clone for StepContext<B>where
B: WireFormatBackend + Clone,
Auto Trait Implementations§
impl<B> Freeze for StepContext<B>where
B: Freeze,
impl<B> RefUnwindSafe for StepContext<B>where
B: RefUnwindSafe,
impl<B> Send for StepContext<B>where
B: Send,
impl<B> Sync for StepContext<B>where
B: Sync,
impl<B> Unpin for StepContext<B>where
B: Unpin,
impl<B> UnsafeUnpin for StepContext<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for StepContext<B>where
B: 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