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§
fn map<R1, R2, F>(self, f: F) -> ServiceBuilder<Stack<MapLayer<R1, R2>, L>>
fn settings<RL, Request>( self, settings: TowerRequestSettings, retry_logic: RL, ) -> ServiceBuilder<Stack<TowerRequestLayer<RL, Request>, L>>
Object Safety§
This trait is not object safe.