pub trait ExtractorConfig: Send + Sync {
// Required method
fn value() -> &'static str;
}Expand description
Provides configuration values for token extractors.
Implement this trait to specify custom header names or cookie names
Typically used with the define_*_extractor! macros rather than implemented manually.
Required Methods§
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.