pub trait HasHeaderName {
// Required method
fn get_name(&self) -> HeaderName;
}Expand description
a utility trait allowing us to use type hint structs
in HeaderMap::{contains, get_untyped}
Required Methods§
fn get_name(&self) -> HeaderName
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".