Skip to main content

get_module_config_from_current_crate

Macro get_module_config_from_current_crate 

Source
macro_rules! get_module_config_from_current_crate {
    ($config_type:ty, $ctx:expr, $req:expr) => { ... };
}
Expand description

Macro to get config using current crate name automatically Usage: get_module_config_from_current_crate!(MyConfig, ctx, req)