pub struct RequestHeaders { /* private fields */ }
Expand description
Request header context
Trait Implementations§
Source§impl HttpControl for RequestHeaders
impl HttpControl for RequestHeaders
Source§fn attributes(&self) -> &Attributes
fn attributes(&self) -> &Attributes
Retrieve attributes for the http data
Source§fn end_of_stream(&self) -> bool
fn end_of_stream(&self) -> bool
If
true
, this is the last blockSource§impl HttpHeaderControl for RequestHeaders
impl HttpHeaderControl for RequestHeaders
Source§const HEADER_TYPE: HeaderType = HeaderType::RequestHeaders
const HEADER_TYPE: HeaderType = HeaderType::RequestHeaders
The header type
Source§fn header_count(&self) -> usize
fn header_count(&self) -> usize
Number of headers contained in block
Auto Trait Implementations§
impl Freeze for RequestHeaders
impl RefUnwindSafe for RequestHeaders
impl Send for RequestHeaders
impl Sync for RequestHeaders
impl Unpin for RequestHeaders
impl UnwindSafe for RequestHeaders
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