pub trait QueryExtractor: Sized {
// Required method
fn query(self, name: String) -> Query<Self>;
}Expand description
Extension trait for adding query parameter extraction to an extractor chain.
§For Callers
Chain this to extract URL query parameters as cache key parts. Each extracted parameter becomes a key part with the parameter name and value.
§For Implementors
This trait is automatically implemented for all Extractor
types. You don’t need to implement it 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.