pub enum ZipError {
Io(Error),
InvalidArchive(&'static str),
UnsupportedArchive(&'static str),
FileNotFound,
}
Expand description
Error type for Zip
Variants
Io(Error)
An Error caused by I/O
InvalidArchive(&'static str)
This file is probably not a zip archive
UnsupportedArchive(&'static str)
This archive is not supported
FileNotFound
The requested file could not be found in the archive
Trait Implementations
sourceimpl Error for ZipError
impl Error for ZipError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for ZipError
impl Send for ZipError
impl Sync for ZipError
impl Unpin for ZipError
impl !UnwindSafe for ZipError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more