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