Enum http1_spec::body_parser::BodyParseError
source · pub enum BodyParseError {
ReadError(IoError),
TooLongChunksOfLength,
InvalidChunksOfLength(Option<ParseIntError>),
TooLongChunksOfCRLF,
InvalidCRLF,
}
Variants§
ReadError(IoError)
TooLongChunksOfLength
InvalidChunksOfLength(Option<ParseIntError>)
TooLongChunksOfCRLF
InvalidCRLF
Trait Implementations§
source§impl Debug for BodyParseError
impl Debug for BodyParseError
source§impl Display for BodyParseError
impl Display for BodyParseError
source§impl Error for BodyParseError
impl Error for BodyParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BodyParseError> for IoError
impl From<BodyParseError> for IoError
source§fn from(err: BodyParseError) -> IoError
fn from(err: BodyParseError) -> IoError
Converts to this type from the input type.