Skip to main content

ensure

Macro ensure 

Source
macro_rules! ensure {
    ($cond:expr_2021, $err:expr_2021) => { ... };
}
Expand description

An anyhow-style guard that returns a typed Error.