Struct httparse::HeaderParserConfig
source · pub(crate) struct HeaderParserConfig {
pub(crate) allow_spaces_after_header_name: bool,
pub(crate) allow_obsolete_multiline_headers: bool,
pub(crate) allow_space_before_first_header_name: bool,
pub(crate) ignore_invalid_headers: bool,
}
Fields§
§allow_spaces_after_header_name: bool
§allow_obsolete_multiline_headers: bool
§allow_space_before_first_header_name: bool
§ignore_invalid_headers: bool
Trait Implementations§
source§impl Clone for HeaderParserConfig
impl Clone for HeaderParserConfig
source§fn clone(&self) -> HeaderParserConfig
fn clone(&self) -> HeaderParserConfig
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 moresource§impl Debug for HeaderParserConfig
impl Debug for HeaderParserConfig
source§impl Default for HeaderParserConfig
impl Default for HeaderParserConfig
source§fn default() -> HeaderParserConfig
fn default() -> HeaderParserConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HeaderParserConfig
impl RefUnwindSafe for HeaderParserConfig
impl Send for HeaderParserConfig
impl Sync for HeaderParserConfig
impl Unpin for HeaderParserConfig
impl UnwindSafe for HeaderParserConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)