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).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.