Trait Step

Source
pub trait Step<S, Ctx, Compact, Input, Current, Next, Encode, Index> {
    // Required method
    fn step(
        self,
        service: S,
    ) -> StepBuilder<Ctx, Compact, Input, Next, Encode, Index>;
}
Expand description

Helper trait for building new steps from StepBuilder

Required Methods§

Source

fn step( self, service: S, ) -> StepBuilder<Ctx, Compact, Input, Next, Encode, Index>

Helper function for building new steps from StepBuilder

Implementors§

Source§

impl<S, Ctx, Input, Current, Next, Compact, Encode, Index> Step<S, Ctx, Compact, Input, Current, Next, Encode, Index> for StepBuilder<Ctx, Compact, Input, Current, Encode, Index>
where S: Service<Request<Current, Ctx>, Response = GoTo<Next>, Error = Error> + Send + 'static + Sync, S::Future: Send + 'static, Current: DeserializeOwned + Send + 'static, S::Response: 'static, Input: Send + 'static + Serialize, Ctx: Default + Send, Next: 'static + Send + Serialize, Compact: Send + 'static, Encode: Codec<Compact = Compact> + Send + 'static, Encode::Error: Debug, Index: StepIndex,