pub(crate) struct ParseContext<'a> {
cached_headers: &'a mut Option<HeaderMap>,
req_method: &'a mut Option<Method>,
h1_parser_config: ParserConfig,
h1_max_headers: Option<usize>,
preserve_header_case: bool,
h09_responses: bool,
on_informational: &'a mut Option<OnInformational>,
}Fields§
§cached_headers: &'a mut Option<HeaderMap>§req_method: &'a mut Option<Method>§h1_parser_config: ParserConfig§h1_max_headers: Option<usize>§preserve_header_case: bool§h09_responses: bool§on_informational: &'a mut Option<OnInformational>Auto Trait Implementations§
impl<'a> Freeze for ParseContext<'a>
impl<'a> !RefUnwindSafe for ParseContext<'a>
impl<'a> Send for ParseContext<'a>
impl<'a> Sync for ParseContext<'a>
impl<'a> Unpin for ParseContext<'a>
impl<'a> !UnwindSafe for ParseContext<'a>
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