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

Parse request

Parse response

Parse both

Trait Implementations

impl PartialEq for HttpParserType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HttpParserType
[src]

impl Clone for HttpParserType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HttpParserType
[src]