pub trait HttpMiddleware<S> {
type Service;
// Required method
fn apply(self, inner: S) -> Self::Service;
}Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Source§impl<S> HttpMiddleware<S> for ()
The unit type can be used as a no-op middleware, mapping S to itself.
impl<S> HttpMiddleware<S> for ()
The unit type can be used as a no-op middleware, mapping S to itself.