pub enum ZipReadError {
IOError(Error),
InvalidZipArchive {
reason: String,
},
UnsupportedZipArchive {
reason: String,
},
}Expand description
Extended std::io::Error for ZIP archive
Variants§
IOError(Error)
See std::io::Error
InvalidZipArchive
An error due to invalid ZIP arvhie
UnsupportedZipArchive
An error due to unsupported ZIP archive in this software
Trait Implementations§
Source§impl Debug for ZipReadError
impl Debug for ZipReadError
Source§impl Display for ZipReadError
impl Display for ZipReadError
Source§impl Error for ZipReadError
impl Error for ZipReadError
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()
Auto Trait Implementations§
impl Freeze for ZipReadError
impl !RefUnwindSafe for ZipReadError
impl Send for ZipReadError
impl Sync for ZipReadError
impl Unpin for ZipReadError
impl !UnwindSafe for ZipReadError
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