http::header

Trait AsHeaderName

Source
pub trait AsHeaderName: Sealed { }
Expand description

A marker trait used to identify values that can be used as search keys to a HeaderMap.

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.

Implementations on Foreign Types§

Source§

impl AsHeaderName for String

Source§

impl<'a> AsHeaderName for &'a str

Source§

impl<'a> AsHeaderName for &'a String

Implementors§