Enum ZipError
enum ZipError
Error type for Zip
Variants
-
Io(io::Error) i/o error
-
InvalidArchive(std::borrow::Cow<'static, str>) invalid Zip archive
-
UnsupportedArchive(&'static str) unsupported Zip archive
-
FileNotFound specified file not found in archive
-
InvalidPassword provided password is incorrect
Implementations
impl ZipError
impl Debug for ZipError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for ZipError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> fmt::Result
impl Error for ZipError
fn source(self: &Self) -> Option<&dyn Error + 'static>
impl Freeze for ZipError
impl From for ZipError
fn from(_: DateTimeRangeError) -> Self
impl From for ZipError
fn from(_: FromUtf8Error) -> Self
impl From for ZipError
fn from(value: io::Error) -> Self
impl RefUnwindSafe for ZipError
impl Send for ZipError
impl Sync for ZipError
impl Unpin for ZipError
impl UnwindSafe for ZipError
impl<T> Any for ZipError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ZipError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ZipError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for ZipError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Same for ZipError
impl<T> ToString for ZipError
fn to_string(self: &Self) -> String
impl<T, U> Into for ZipError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ZipError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ZipError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>