pub trait CommandRequest: Into<Command> {
type Reply: Unpack;
const CODE: CommandCode;
}
Expand description
Represents a management api command.
Required Associated Constants§
Sourceconst CODE: CommandCode
const CODE: CommandCode
Command code.
Required Associated Types§
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.