pub enum ParseHttpRequestError {
BadLen,
NoMethod,
UnknownMethod,
NoPath,
NoProtocol,
UnknownProtocol,
}Expand description
§Http request parse errors
Variants§
Trait Implementations§
Source§impl Debug for ParseHttpRequestError
impl Debug for ParseHttpRequestError
Source§impl Display for ParseHttpRequestError
impl Display for ParseHttpRequestError
Source§impl PartialEq for ParseHttpRequestError
impl PartialEq for ParseHttpRequestError
Source§fn eq(&self, other: &ParseHttpRequestError) -> bool
fn eq(&self, other: &ParseHttpRequestError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseHttpRequestError
Auto Trait Implementations§
impl Freeze for ParseHttpRequestError
impl RefUnwindSafe for ParseHttpRequestError
impl Send for ParseHttpRequestError
impl Sync for ParseHttpRequestError
impl Unpin for ParseHttpRequestError
impl UnsafeUnpin for ParseHttpRequestError
impl UnwindSafe for ParseHttpRequestError
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