PipelineExt

Trait PipelineExt 

Source
pub trait PipelineExt<R>: Service<R> {
    // Required method
    fn pipeline<B>(self, second: B) -> Pipeline<Self, B>
       where Self: Service<R> + Sized,
             B: Service<Self::Response> + Clone,
             Self::Error: Into<B::Error>;
}
Expand description

An extension trait for easily pipelining Services.

Required Methods§

Source

fn pipeline<B>(self, second: B) -> Pipeline<Self, B>
where Self: Service<R> + Sized, B: Service<Self::Response> + Clone, Self::Error: Into<B::Error>,

Construct a Pipeline.

Implementors§

Source§

impl<R, T> PipelineExt<R> for T
where T: Service<R>,