pub trait StringArgExtractor<Context, Arg>: IsProviderFor<StringArgExtractorComponent, Context, Arg> {
// Required method
fn extract_string_arg(
context: &Context,
_phantom: PhantomData<Arg>,
) -> Cow<'_, str>;
}Required Methods§
fn extract_string_arg( context: &Context, _phantom: PhantomData<Arg>, ) -> Cow<'_, str>
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.