Struct engineio_rs::HeaderMap
source · pub struct HeaderMap { /* private fields */ }Implementations
sourceimpl HeaderMap
impl HeaderMap
pub fn new() -> Self
pub fn insert<T: Into<HeaderName>, U: Into<HeaderValue>>(
&mut self,
key: T,
value: U
) -> Option<HeaderValue>
Trait Implementations
sourceimpl IntoIterator for HeaderMap
impl IntoIterator for HeaderMap
type Item = (HeaderName, HeaderValue)
type Item = (HeaderName, HeaderValue)
The type of the elements being iterated over.
type IntoIter = IntoIter
type IntoIter = IntoIter
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <Self as IntoIterator>::IntoIter
fn into_iter(self) -> <Self as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl TryFrom<HeaderMap> for HttpHeaderMap
impl TryFrom<HeaderMap> for HttpHeaderMap
impl Eq for HeaderMap
impl StructuralEq for HeaderMap
impl StructuralPartialEq for HeaderMap
Auto Trait Implementations
impl RefUnwindSafe for HeaderMap
impl Send for HeaderMap
impl Sync for HeaderMap
impl Unpin for HeaderMap
impl UnwindSafe for HeaderMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.