Macro common_failures::quick_main
[−]
[src]
macro_rules! quick_main { ($wrapped:ident) => { ... }; }
Generate a main
function which calls the specified function. If the
function returns Result::Err(_)
, then main
will print the error and exit
with a non-zero status code.