pub enum BodyParseError {
ReadError(Error),
TooLongChunksOfLength,
InvalidChunksOfLength(Option<ParseIntError>),
TooLongChunksOfCRLF,
InvalidCRLF,
}Variants§
ReadError(Error)
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)>
Returns 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 Error
impl From<BodyParseError> for Error
Source§fn from(err: BodyParseError) -> IoError
fn from(err: BodyParseError) -> IoError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BodyParseError
impl !RefUnwindSafe for BodyParseError
impl Send for BodyParseError
impl Sync for BodyParseError
impl Unpin for BodyParseError
impl !UnwindSafe for BodyParseError
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