pub trait OpcodeGroup:
Sized
+ HandlerTypes
+ Copy
+ 'static {
// Required methods
fn title(self) -> &'static str;
fn description(self) -> &'static str;
fn decode_fn(self) -> Self::DecodeFn;
fn validate_fn(self) -> Self::ValidateFn;
fn execute_fn(self) -> Self::ExecuteFn;
fn all() -> &'static [Self];
}Expand description
Trait for OpcodeGroup metadata and decode/validate/execute handler routing.
Required Methods§
fn title(self) -> &'static str
fn description(self) -> &'static str
fn decode_fn(self) -> Self::DecodeFn
fn validate_fn(self) -> Self::ValidateFn
fn execute_fn(self) -> Self::ExecuteFn
fn all() -> &'static [Self]
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".