pub fn any<S, B>(svc: S) -> MethodRouter<S, MethodNotAllowed<S::Error>, B>
where
    S: Service<Request<B>> + Clone,
{
    on(MethodFilter::all(), svc)
}
/// Route requests with any standard HTTP method to the given service.
///
/// See [`get`] for an example.
///
/// Note that this only accepts the standard HTTP methods. If you need to
/// support non-standard methods you can route directly to a [`Service`].
Route requests with any standard HTTP method to the given service.
See [`get`] for an example.

Note that this only accepts the standard HTTP methods. If you need to
support non-standard methods you can route directly to a [`Service`].
Route requests with any standard HTTP method to the given service . See [ ` get ` ] for an example . Note that this only accepts the standard HTTP methods . If you need to support non - standard methods you can route directly to a [ ` Service ` ] .
pub fn any<S, B>(svc: S) -> MethodRouter<S, MethodNotAllowed<S::Error>, B>
where
    S: Service<Request<B>> + Clone,
{
    on(MethodFilter::all(), svc)
}
pub fn any < S , B > ( svc : S ) -> MethodRouter < S , MethodNotAllowed < S :: Error > , B > where S : Service < Request < B > > + Clone , { on ( MethodFilter :: all ( ) , svc ) }
Route requests with any standard HTTP method to the given service.
Route requests with any standard HTTP method to the given service .
svc
S