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.