Macro hyper_middleware::method_not_allowed
source · macro_rules! method_not_allowed {
($($arg:tt)*) => { ... };
}Expand description
Construct an Error with StatusCode::METHOD_NOT_ALLOWED from a string or existing non-anyhow error value.