Enum http_parser::HttpParserType [] [src]

pub enum HttpParserType {
    Request,
    Response,
    Both,
}

HttpParserType is a type specifies whether the parser is going to parse a HTTP request, response or both.

Variants

Request

Parse request

Response

Parse response

Both

Parse both

Trait Implementations

Derived Implementations

impl Copy for HttpParserType

impl Clone for HttpParserType

fn clone(&self) -> HttpParserType

fn clone_from(&mut self, source: &Self)

impl Eq for HttpParserType

impl PartialEq for HttpParserType

fn eq(&self, __arg_0: &HttpParserType) -> bool

fn ne(&self, __arg_0: &HttpParserType) -> bool