Trait vector::sinks::util::service::ServiceBuilderExt

source ·
pub trait ServiceBuilderExt<L> {
    // Required methods
    fn map<R1, R2, F>(self, f: F) -> ServiceBuilder<Stack<MapLayer<R1, R2>, L>>
       where F: Fn(R1) -> R2 + Send + Sync + 'static;
    fn settings<RL, Request>(
        self,
        settings: TowerRequestSettings,
        retry_logic: RL,
    ) -> ServiceBuilder<Stack<TowerRequestLayer<RL, Request>, L>>;
}

Required Methods§

source

fn map<R1, R2, F>(self, f: F) -> ServiceBuilder<Stack<MapLayer<R1, R2>, L>>
where F: Fn(R1) -> R2 + Send + Sync + 'static,

source

fn settings<RL, Request>( self, settings: TowerRequestSettings, retry_logic: RL, ) -> ServiceBuilder<Stack<TowerRequestLayer<RL, Request>, L>>

Object Safety§

This trait is not object safe.

Implementors§