Trait axol_http::header::TypedHeader
source · pub trait TypedHeader {
// Required methods
fn name() -> &'static str;
fn encode(&self, map: &mut HeaderMap);
fn decode(from: &str) -> Result<Self, Error>
where Self: Sized;
// Provided method
fn encode_to_string(&self) -> Vec<String> { ... }
}