pub enum ReaderError {
Io(Error),
Utf8Error(FromUtf8Error),
UrlParse(ParseError),
Reqwest(Error),
DecompressError(DecompressError),
NoEntrypoint,
InvalidFormat,
InvalidHead,
}
Variants§
Io(Error)
Utf8Error(FromUtf8Error)
UrlParse(ParseError)
Reqwest(Error)
DecompressError(DecompressError)
NoEntrypoint
InvalidFormat
InvalidHead
Trait Implementations§
source§impl Debug for ReaderError
impl Debug for ReaderError
source§impl Display for ReaderError
impl Display for ReaderError
source§impl Error for ReaderError
impl Error for ReaderError
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.81.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<DecompressError> for ReaderError
impl From<DecompressError> for ReaderError
source§fn from(source: DecompressError) -> Self
fn from(source: DecompressError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ReaderError
impl From<Error> for ReaderError
source§impl From<Error> for ReaderError
impl From<Error> for ReaderError
source§impl From<FromUtf8Error> for ReaderError
impl From<FromUtf8Error> for ReaderError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for ReaderError
impl From<ParseError> for ReaderError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReaderError
impl !RefUnwindSafe for ReaderError
impl Send for ReaderError
impl Sync for ReaderError
impl Unpin for ReaderError
impl !UnwindSafe for ReaderError
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