pub trait CanExtractCommandArg<Arg>: HasCommandArgType {
// Required method
fn extract_command_arg(
&self,
_phantom: PhantomData<Arg>,
) -> Self::CommandArg;
}Required Methods§
fn extract_command_arg(&self, _phantom: PhantomData<Arg>) -> Self::CommandArg
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".