pub fn or_else_any_method(mut self, pattern: &str, func: HandlerFn<D>) -> Self {
        self.or_else_any_method
            .insert(pattern, Handler::Sync(func))
            .unwrap_or_else(|e| panic!("failed to register route for {} pattern: {}", pattern, e));
        self
    }
/// Register an HTTP handler that will respond to all methods that are not handled explicitly by
/// other handlers.
Register an HTTP handler that will respond to all methods that are not handled explicitly by
other handlers.
Register an HTTP handler that will respond to all methods that are not handled explicitly by other handlers .
pub fn or_else_any_method(mut self, pattern: &str, func: HandlerFn<D>) -> Self {
        self.or_else_any_method
            .insert(pattern, Handler::Sync(func))
            .unwrap_or_else(|e| panic!("failed to register route for {} pattern: {}", pattern, e));
        self
    }
pub fn or_else_any_method ( mut self , pattern : & str , func : HandlerFn < D > ) -> Self { self . or_else_any_method . insert ( pattern , Handler :: Sync ( func ) ) . unwrap_or_else ( | e | panic ! ( " " pattern e ) ) ; self }
Register an HTTP handler that will respond to all methods that are not handled explicitly by
other handlers.
Register an HTTP handler that will respond to all methods that are not handled explicitly by other handlers .
mut self
pattern
&str
func
HandlerFn<D>
mut self
pattern
&str
func
HandlerFn<D>