pub struct ThenStep<S, T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<S, Current, O, E, FlowSink, Encode, Compact> Step<Current, FlowSink, Encode> for ThenStep<S, Current>where
S: Service<Task<Current, FlowSink::Context, FlowSink::IdType>, Response = O, Error = E> + Sync + Send,
Current: Sync + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<BoxDynError>,
E: Into<BoxDynError> + Send + Sync + 'static,
O: Sync,
FlowSink: Sync + Unpin + WeakTaskSink<O> + Send,
FlowSink::Context: Send + Sync + Default + MetadataExt<WorkflowRequest>,
FlowSink::Error: Into<BoxDynError> + Send + 'static,
FlowSink::IdType: GenerateId + Send,
Compact: Sync + Send,
Encode: Codec<Current, Compact = Compact> + Sync + Send + 'static,
Encode::Error: Error + Sync + Send + 'static,
<FlowSink::Context as MetadataExt<WorkflowRequest>>::Error: Error + Sync + Send + 'static,
impl<S, Current, O, E, FlowSink, Encode, Compact> Step<Current, FlowSink, Encode> for ThenStep<S, Current>where
S: Service<Task<Current, FlowSink::Context, FlowSink::IdType>, Response = O, Error = E> + Sync + Send,
Current: Sync + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<BoxDynError>,
E: Into<BoxDynError> + Send + Sync + 'static,
O: Sync,
FlowSink: Sync + Unpin + WeakTaskSink<O> + Send,
FlowSink::Context: Send + Sync + Default + MetadataExt<WorkflowRequest>,
FlowSink::Error: Into<BoxDynError> + Send + 'static,
FlowSink::IdType: GenerateId + Send,
Compact: Sync + Send,
Encode: Codec<Current, Compact = Compact> + Sync + Send + 'static,
Encode::Error: Error + Sync + Send + 'static,
<FlowSink::Context as MetadataExt<WorkflowRequest>>::Error: Error + Sync + Send + 'static,
type Response = <S as Service<Task<Current, <FlowSink as Backend>::Context, <FlowSink as Backend>::IdType>>>::Response
type Error = <S as Service<Task<Current, <FlowSink as Backend>::Context, <FlowSink as Backend>::IdType>>>::Error
async fn run( &mut self, _: &StepContext<FlowSink, Encode>, args: Task<Current, FlowSink::Context, FlowSink::IdType>, ) -> Result<GoTo<S::Response>, Self::Error>
Auto Trait Implementations§
impl<S, T> Freeze for ThenStep<S, T>where
S: Freeze,
impl<S, T> RefUnwindSafe for ThenStep<S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for ThenStep<S, T>
impl<S, T> Sync for ThenStep<S, T>
impl<S, T> Unpin for ThenStep<S, T>
impl<S, T> UnwindSafe for ThenStep<S, T>where
S: UnwindSafe,
T: 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