iron::iexpect
[−]
[src]
macro_rules! iexpect { ($option:expr) => { ... }; ($option:expr, $modifier:expr) => { ... }; }
Unwrap the given Option
or return a Ok(Response::new())
with the given
modifier. The default modifier is status::BadRequest
.