Trait HeaderValue

Source
pub trait HeaderValue {
    // Required method
    fn to_str(&self) -> Result<&str, ToStrError>;
}
Expand description

A trait for the parts needed from http crate 0.2 or 1.0’s HeaderValue type.

Required Methods§

Implementations on Foreign Types§

Source§

impl HeaderValue for HeaderValue

Source§

impl HeaderValue for HeaderValue

Implementors§