Trait oasis_runtime_sdk::module::ModuleInfoHandler
source · pub trait ModuleInfoHandler {
// Required method
fn module_info<C: Context>(_ctx: &C) -> BTreeMap<String, ModuleInfo>;
}
Expand description
Info handler.
Required Methods§
sourcefn module_info<C: Context>(_ctx: &C) -> BTreeMap<String, ModuleInfo>
fn module_info<C: Context>(_ctx: &C) -> BTreeMap<String, ModuleInfo>
Reports info about the module (or modules, if Self
is a tuple).
Object Safety§
This trait is not object safe.