Trait tower_async_bridge::AsyncServiceExt
source · pub trait AsyncServiceExt<Request>: Service<Request> {
// Provided method
fn into_async(self) -> AsyncServiceWrapper<Self>
where Self: Sized { ... }
}
Expand description
Extension for a tower::Service
to turn it into an async Service
.
Provided Methods§
sourcefn into_async(self) -> AsyncServiceWrapper<Self>where
Self: Sized,
fn into_async(self) -> AsyncServiceWrapper<Self>where Self: Sized,
Turn this tower::Service
into a tower_async_service::Service
.