pub trait HeaderValue: Display {
type OwnedValue;
type Value;
const OWNED: bool;
// Required method
fn header_name(&self) -> &str;
}
Expand description
A Header that reveals it’s type and it’s value, and can be displayed
Required Associated Constants§
Required Associated Types§
type OwnedValue
type Value
Required Methods§
fn header_name(&self) -> &str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.