Trait tower_async_bridge::ClassicLayerExt
source · pub trait ClassicLayerExt<S>: Layer<S> {
// Provided method
fn into_classic(self) -> ClassicLayer<Self, S>
where Self: Sized { ... }
}
Expand description
ClassicLayerExt adds a method to any tower_async_layer::Layer
that
wraps it in a ClassicLayer so that it can be used within a tower_layer::Layer
environment.
Provided Methods§
sourcefn into_classic(self) -> ClassicLayer<Self, S>where
Self: Sized,
fn into_classic(self) -> ClassicLayer<Self, S>where Self: Sized,
Wrap a tower_async_layer::Layer
,
so that it can be used within a tower_layer::Layer
environment.