match_some_exec

Macro match_some_exec 

Source
macro_rules! match_some_exec {
    ($opt:expr,$exec:expr) => { ... };
}
Expand description

match Option
if is Some, will be return value
if is Nome, will be return custom value