pub trait Nameable {
const NAME_SUFFIX: &'static [u8];
}
Expand description
A trait that can be implemented for marker structs to indicate that the command is ready to be named.
Required Associated Constants§
Sourceconst NAME_SUFFIX: &'static [u8]
const NAME_SUFFIX: &'static [u8]
The data that must be put after a name to comply with the type of command that is named.
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.