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
impl PartialEq for HttpParserType
[src]
fn eq(&self, __arg_0: &HttpParserType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for HttpParserType
[src]
impl Clone for HttpParserType
[src]
fn clone(&self) -> HttpParserType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more