Macro btconfig::get_setting

source ·
macro_rules! get_setting {
    ($config:expr, $name:ident) => { ... };
}
Expand description

Attempts to unwrap the Option field in $config called $name. This macro internal uses the ? operator, and can only be used in methods which return a [Result] which has an error type that a [btlib::Error] can be converted to.