pub trait EncodeHeaderValue {
// Required method
fn encode_value(&self) -> SharedString<'static>;
// Provided method
fn as_header(&self, _name: &str) -> Option<Header<'static>> { ... }
}
pub trait EncodeHeaderValue {
// Required method
fn encode_value(&self) -> SharedString<'static>;
// Provided method
fn as_header(&self, _name: &str) -> Option<Header<'static>> { ... }
}