pub trait ClassicServiceExt<Request>: Service<Request> {
// Provided method
fn into_classic(self) -> ClassicServiceWrapper<Self>
where Self: Sized { ... }
}
Expand description
Extension trait for tower::Service
that provides the ClassicServiceExt::into_classic method.
Provided Methods§
sourcefn into_classic(self) -> ClassicServiceWrapper<Self>where
Self: Sized,
fn into_classic(self) -> ClassicServiceWrapper<Self>where Self: Sized,
Turn this tower::Service
into an async tower_async_service::Service
.
Object Safety§
This trait is not object safe.