pub fn then<F, U>(self, factory: F) -> PipelineFactory<ThenServiceFactory<T, U>>
    where
        Self: Sized,
        F: IntoServiceFactory<U>,
        U: ServiceFactory<
            Config = T::Config,
            Request = Result<T::Response, T::Error>,
            Error = T::Error,
            InitError = T::InitError,
        >,
    {
        PipelineFactory {
            factory: ThenServiceFactory::new(self.factory, factory.into_factory()),
        }
    }
/// Create `NewService` to chain on a computation for when a call to the
/// service finished, passing the result of the call to the next
/// service `U`.
///
/// Note that this function consumes the receiving pipeline and returns a
/// wrapped version of it.
Create `NewService` to chain on a computation for when a call to the
service finished, passing the result of the call to the next
service `U`.

Note that this function consumes the receiving pipeline and returns a
wrapped version of it.
Create ` NewService ` to chain on a computation for when a call to the service finished passing the result of the call to the next service ` U ` . Note that this function consumes the receiving pipeline and returns a wrapped version of it .
pub fn then<F, U>(self, factory: F) -> PipelineFactory<ThenServiceFactory<T, U>>
    where
        Self: Sized,
        F: IntoServiceFactory<U>,
        U: ServiceFactory<
            Config = T::Config,
            Request = Result<T::Response, T::Error>,
            Error = T::Error,
            InitError = T::InitError,
        >,
    {
        PipelineFactory {
            factory: ThenServiceFactory::new(self.factory, factory.into_factory()),
        }
    }
pub fn then < F , U > ( self , factory : F ) -> PipelineFactory < ThenServiceFactory < T , U > > where Self : Sized , F : IntoServiceFactory < U > , U : ServiceFactory < Config = T :: Config , Request = Result < T :: Response , T :: Error > , Error = T :: Error , InitError = T :: InitError , > , { PipelineFactory { factory : ThenServiceFactory :: new ( self . factory , factory . into_factory ( ) ) , } }
Create `NewService` to chain on a computation for when a call to the
service finished, passing the result of the call to the next
service `U`.
Create ` NewService ` to chain on a computation for when a call to the service finished passing the result of the call to the next service ` U ` .
self
factory
F