pub trait Extractor {
type Output: Tuple;
type Error: Into<Error>;
type Extract: TryFuture<Ok = Self::Output, Error = Self::Error>;
fn extract(&self) -> Self::Extract;
}
Expand description
A trait abstracting the extraction of values from the incoming request.