Struct httparse::ParserConfig[][src]

pub struct ParserConfig { /* fields omitted */ }

Parser configuration.

Implementations

impl ParserConfig[src]

pub fn allow_spaces_after_header_name_in_responses(
    &mut self,
    value: bool
) -> &mut Self
[src]

Sets whether spaces should be allowed after header name.

pub fn parse_response<'headers, 'buf>(
    &self,
    response: &mut Response<'headers, 'buf>,
    buf: &'buf [u8]
) -> Result<usize>
[src]

Parses a response with the given config.

Trait Implementations

impl Clone for ParserConfig[src]

impl Debug for ParserConfig[src]

impl Default for ParserConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ParserConfig

impl Send for ParserConfig

impl Sync for ParserConfig

impl Unpin for ParserConfig

impl UnwindSafe for ParserConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.