pub trait StaticCommand: Command {
type Error: Send;
}Expand description
Static-dispatch metadata for a command.
MediCommand derives this trait automatically. When its error_type
attribute is omitted, core::convert::Infallible is used.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".