Trait ModuleIdentification

Source
pub trait ModuleIdentification: Sized {
    // Required method
    fn module_id(&self) -> &'static str;
}
Expand description

Return the identifier for this module.

Required Methods§

Source

fn module_id(&self) -> &'static str

Get the module identifier.

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.

Implementations on Foreign Types§

Source§

impl ModuleIdentification for Account

Source§

fn module_id(&self) -> &'static str

Implementors§