pub trait PermissionsExtractor<'a, Req, Type> {
type Future: Future<Output = Result<Vec<Type>, Error>>;
// Required method
fn extract(&self, request: &'a mut ServiceRequest) -> Self::Future;
}
pub trait PermissionsExtractor<'a, Req, Type> {
type Future: Future<Output = Result<Vec<Type>, Error>>;
// Required method
fn extract(&self, request: &'a mut ServiceRequest) -> Self::Future;
}