Module extractor

Module extractor 

Source

Traitsยง

AuthoritiesExtractor
Trait for extracting authorities from the request. By default, is implemented for functions with signature fn(&mut Request) -> Result<HashSet<Type>, Into<Response>. But can be implemented for custom structures and enums.