pub struct Chain<I, O> { /* private fields */ }Expand description
Executes a typed sequence of steps.
Implementations§
Source§impl<I, O> Chain<I, O>
impl<I, O> Chain<I, O>
Sourcepub async fn execute(
&self,
input: I,
progress: Option<ChainProgressFn>,
cancel: CancellationToken,
) -> AppResult<O>
pub async fn execute( &self, input: I, progress: Option<ChainProgressFn>, cancel: CancellationToken, ) -> AppResult<O>
Execute the chain, short-circuiting on the first failed step.
Auto Trait Implementations§
impl<I, O> !RefUnwindSafe for Chain<I, O>
impl<I, O> !UnwindSafe for Chain<I, O>
impl<I, O> Freeze for Chain<I, O>
impl<I, O> Send for Chain<I, O>
impl<I, O> Sync for Chain<I, O>
impl<I, O> Unpin for Chain<I, O>
impl<I, O> UnsafeUnpin for Chain<I, O>
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