pub trait HeaderExtractor { type Error; // Required method fn extract_header<'a>( &self, headers: &'a HeaderMap, ) -> Result<&'a str, Self::Error>; }