pub trait RuntimeCommand {
// Required method
fn name(&self) -> &CommandName;
}Expand description
Minimal runtime command contract.
Required Methods§
Sourcefn name(&self) -> &CommandName
fn name(&self) -> &CommandName
Returns the stable command name used for registration and dispatch.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".