pub trait HttpPipelineFactory:
Send
+ Sync
+ 'static {
type Item;
// Required method
fn generate(&self) -> Result<Self::Item>;
// Provided method
fn setup<'async_trait>( ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Sized + 'async_trait { ... }
}
Expand description
HttpPipelineFactory is aim at generating specified HttpPipeline. It’s designed for user-defined, which means you can customize your own HttpPipeline as an entrance.