pub trait CommandArgExtractor<Context, Arg>: IsProviderFor<CommandArgExtractorComponent, Context, Arg>where
Context: HasCommandArgType,{
// Required method
fn extract_command_arg(
context: &Context,
_phantom: PhantomData<Arg>,
) -> Context::CommandArg;
}Required Methods§
fn extract_command_arg( context: &Context, _phantom: PhantomData<Arg>, ) -> Context::CommandArg
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.