pub enum HttpParserType {
Request,
Response,
Both,
}
Expand description
HttpParserType
is a type specifies whether the parser is going to parse a HTTP request,
response or both.
Variants§
Trait Implementations§
Source§impl Clone for HttpParserType
impl Clone for HttpParserType
Source§fn clone(&self) -> HttpParserType
fn clone(&self) -> HttpParserType
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 PartialEq for HttpParserType
impl PartialEq for HttpParserType
impl Copy for HttpParserType
impl Eq for HttpParserType
impl StructuralPartialEq for HttpParserType
Auto Trait Implementations§
impl Freeze for HttpParserType
impl RefUnwindSafe for HttpParserType
impl Send for HttpParserType
impl Sync for HttpParserType
impl Unpin for HttpParserType
impl UnwindSafe for HttpParserType
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