pub enum ParserError {
Show 17 variants
ChunkExtensionName(u8),
ChunkExtensionValue(u8),
ChunkLength(u8),
CrlfSequence(u8),
Dead,
HeaderName(u8),
HeaderValue(u8),
ChunkLengthOverflow,
Method(u8),
Multipart(u8),
MultipartBoundary(u8),
Status(u8),
StatusCode(u8),
Url(u8),
UrlEncodedName(u8),
UrlEncodedValue(u8),
Version(u8),
}Expand description
Parser error messages.
Variants§
ChunkExtensionName(u8)
Invalid chunk extension name on byte u8.
ChunkExtensionValue(u8)
Invalid chunk extension value on byte u8.
ChunkLength(u8)
Invalid chunk length on byte u8.
CrlfSequence(u8)
Invalid CRLF sequence on byte u8.
Dead
Parsing has failed.
HeaderName(u8)
Invalid header name on byte u8.
HeaderValue(u8)
Invalid header value on byte u8.
ChunkLengthOverflow
Chunk length overflow.
Method(u8)
Invalid request method on byte u8.
Multipart(u8)
Invalid multipart data.
MultipartBoundary(u8)
Invalid multipart boundary.
Status(u8)
Invalid status on byte u8.
StatusCode(u8)
Invalid status code on byte u8.
Url(u8)
Invalid URL character on byte u8.
UrlEncodedName(u8)
Invalid URL encoded name on byte u8.
UrlEncodedValue(u8)
Invalid URL encoded value on byte u8.
Version(u8)
Invalid HTTP version on byte u8.
Trait Implementations§
Source§impl Clone for ParserError
impl Clone for ParserError
Source§fn clone(&self) -> ParserError
fn clone(&self) -> ParserError
Returns a duplicate 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 Debug for ParserError
impl Debug for ParserError
Source§impl Display for ParserError
impl Display for ParserError
Source§impl PartialEq for ParserError
impl PartialEq for ParserError
impl Copy for ParserError
impl StructuralPartialEq for ParserError
Auto Trait Implementations§
impl Freeze for ParserError
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError
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