pub fn any<S, B>(svc: S) -> OnMethod<S, EmptyRouter<S::Error>, B>
where
    S: Service<Request<B>> + Clone,
{
    on(MethodFilter::all(), svc)
}
/// Route requests to the given service regardless of the HTTP method.
///
/// See [`get`] for an example.
Route requests to the given service regardless of the HTTP method.
See [`get`] for an example.
Route requests to the given service regardless of the HTTP method . See [ ` get ` ] for an example .
pub fn any<S, B>(svc: S) -> OnMethod<S, EmptyRouter<S::Error>, B>
where
    S: Service<Request<B>> + Clone,
{
    on(MethodFilter::all(), svc)
}
pub fn any < S , B > ( svc : S ) -> OnMethod < S , EmptyRouter < S :: Error > , B > where S : Service < Request < B > > + Clone , { on ( MethodFilter :: all ( ) , svc ) }
Route requests to the given service regardless of the HTTP method.
Route requests to the given service regardless of the HTTP method .
svc
S
svc
S