maybe

Macro maybe 

Source
macro_rules! maybe {
    ($block:block) => { ... };
    (async $block:block) => { ... };
    (async move $block:block) => { ... };
}
Expand description

Expands to an immediately-invoked function expression. Good for using the ? operator in functions which do not return an Option or Result.

Accepts a normal block, an async block, or an async move block.