pub trait HeaderField {
type Value: FromHeaderValue + Send + 'static;
const NAME: &'static HeaderName;
const KEY: LocalKey<Option<Self::Value>>;
}Required Associated Constants§
Required Associated Types§
type Value: FromHeaderValue + Send + 'static
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".