Enum rc_zip::error::UnsupportedError
source · pub enum UnsupportedError {
MethodNotSupported(Method),
MethodNotEnabled(Method),
LzmaVersionUnsupported {
major: u8,
minor: u8,
},
LzmaPropertiesHeaderWrongSize {
expected: u16,
actual: u16,
},
}
Expand description
Some part of the zip format is not supported by this crate.
Variants§
MethodNotSupported(Method)
The compression method is not supported.
MethodNotEnabled(Method)
The compression method is supported, but not enabled in this build.
LzmaVersionUnsupported
The zip file uses a version of LZMA that is not supported.
Fields
LzmaPropertiesHeaderWrongSize
The LZMA properties header is not the expected size.
Trait Implementations§
source§impl Debug for UnsupportedError
impl Debug for UnsupportedError
source§impl Display for UnsupportedError
impl Display for UnsupportedError
source§impl Error for UnsupportedError
impl Error for UnsupportedError
1.30.0 · 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()
source§impl From<UnsupportedError> for Error
impl From<UnsupportedError> for Error
source§fn from(source: UnsupportedError) -> Self
fn from(source: UnsupportedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnsupportedError
impl RefUnwindSafe for UnsupportedError
impl Send for UnsupportedError
impl Sync for UnsupportedError
impl Unpin for UnsupportedError
impl UnwindSafe for UnsupportedError
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