pub trait HeaderMap { type Error: Debug; // Required method fn extract(&self, name: &str) -> Result<Option<&str>, Self::Error>; }