pub trait TowerServiceCompat<QB, SB, E, Fut> {
// Provided method
fn compat(self) -> TowerServiceHandler<Self, QB>
where Self: Sized { ... }
}Expand description
Trait for tower service compat.
Provided Methods§
Sourcefn compat(self) -> TowerServiceHandler<Self, QB>where
Self: Sized,
fn compat(self) -> TowerServiceHandler<Self, QB>where
Self: Sized,
Converts a tower service to a salvo handler.