Enum http_box::http1::ParserError
[−]
[src]
pub enum ParserError {
ChunkExtensionName(u8),
ChunkExtensionValue(u8),
ChunkLength(u8),
CrlfSequence(u8),
Dead,
HeaderName(u8),
HeaderValue(u8),
MaxChunkLength,
Method(u8),
Multipart(u8),
MultipartBoundary(u8),
Status(u8),
StatusCode(u8),
Url(u8),
UrlEncodedName(u8),
UrlEncodedValue(u8),
Version(u8),
}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.
DeadParsing has failed.
HeaderName(u8)Invalid header name on byte u8.
HeaderValue(u8)Invalid header value on byte u8.
MaxChunkLengthMaximum chunk length has been met.
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
impl Clone for ParserError[src]
fn clone(&self) -> ParserError
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
impl Copy for ParserError[src]
impl PartialEq for ParserError[src]
fn eq(&self, __arg_0: &ParserError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParserError) -> bool
This method tests for !=.