pub trait Extractor {
type Output: Tuple;
type Error: Into<Error>;
type Extract: TryFuture<Ok = Self::Output, Error = Self::Error>;
// Required method
fn extract(&self) -> Self::Extract;
}Expand description
A trait abstracting the extraction of values from the incoming request.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".