Struct webparse::http::http2::header_index::HeaderIndex
source · pub struct HeaderIndex { /* private fields */ }Implementations§
source§impl HeaderIndex
impl HeaderIndex
pub fn new() -> HeaderIndex
pub fn get_from_index( &self, index: usize ) -> Option<(&HeaderName, &HeaderValue)>
pub fn add_header(&mut self, name: HeaderName, value: HeaderValue)
pub fn find_header( &self, header: (&HeaderName, &HeaderValue) ) -> Option<(usize, bool)>
Trait Implementations§
source§impl Clone for HeaderIndex
impl Clone for HeaderIndex
source§fn clone(&self) -> HeaderIndex
fn clone(&self) -> HeaderIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for HeaderIndex
impl Send for HeaderIndex
impl Sync for HeaderIndex
impl Unpin for HeaderIndex
impl UnwindSafe for HeaderIndex
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more