pub trait CommandExt: Sized + Sealed {
// Required methods
fn input_objects(&self) -> Vec<InputObjectKind>;
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult;
fn non_system_packages_to_be_published(&self) -> Option<&Vec<Vec<u8>>>;
fn is_input_arg_used(&self, input_arg: u16) -> bool;
}Required Methods§
fn input_objects(&self) -> Vec<InputObjectKind>
fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult
fn non_system_packages_to_be_published(&self) -> Option<&Vec<Vec<u8>>>
fn is_input_arg_used(&self, input_arg: u16) -> bool
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.