Skip to main content

AsHeaderName

Trait AsHeaderName 

pub trait AsHeaderName: Sealed { }
Available on crate feature http only.
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".

Implementations on Foreign Types§

§

impl<'a> AsHeaderName for &'a str

Implementors§