pub enum BodyReaderError {
ParseContentLength(String),
ParseTransferEncoding(String),
UnsporTransferEncoding,
Io(Error),
}Variants§
Trait Implementations§
Source§impl Debug for BodyReaderError
impl Debug for BodyReaderError
Source§impl Display for BodyReaderError
impl Display for BodyReaderError
Source§impl Error for BodyReaderError
impl Error for BodyReaderError
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BodyReaderError> for ParseError
impl From<BodyReaderError> for ParseError
Source§fn from(source: BodyReaderError) -> Self
fn from(source: BodyReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BodyReaderError
impl !RefUnwindSafe for BodyReaderError
impl Send for BodyReaderError
impl Sync for BodyReaderError
impl Unpin for BodyReaderError
impl !UnwindSafe for BodyReaderError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more