pub struct HeaderRef<'a>(_, _);
Expand description
A non-owned name-value pair representing a raw HTTP header.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq<HeaderRef<'a>> for HeaderRef<'a>
impl<'a> PartialEq<HeaderRef<'a>> for HeaderRef<'a>
impl<'a> Eq for HeaderRef<'a>
impl<'a> StructuralEq for HeaderRef<'a>
impl<'a> StructuralPartialEq for HeaderRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HeaderRef<'a>
impl<'a> Send for HeaderRef<'a>
impl<'a> Sync for HeaderRef<'a>
impl<'a> Unpin for HeaderRef<'a>
impl<'a> UnwindSafe for HeaderRef<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.