Enum zipsign_api::sign::SignZipError
source · pub enum SignZipError {
InputZip(ZipError),
InputZipIndex(ZipError, usize),
OutputFull,
OutputRead(Error),
OutputSeek(Error),
OutputWrite(Error),
OutputZip(ZipError, usize),
OutputZipFinish(ZipError),
Sign(GatherSignatureDataError),
TooManyKeys,
}Expand description
An error returned by copy_and_sign_zip()
Variants§
InputZip(ZipError)
Could not read input ZIP
InputZipIndex(ZipError, usize)
Could not read a file inside input ZIP
OutputFull
Could not write to output, device full?
OutputRead(Error)
Could not read output
OutputSeek(Error)
Could not seek in output
OutputWrite(Error)
Could not write to output
OutputZip(ZipError, usize)
Could not write ZIP file to output
OutputZipFinish(ZipError)
Could not finish writing output ZIP
Sign(GatherSignatureDataError)
Could not gather signature data
TooManyKeys
Too many keys
Trait Implementations§
source§impl Debug for SignZipError
impl Debug for SignZipError
source§impl Display for SignZipError
impl Display for SignZipError
source§impl Error for SignZipError
impl Error for SignZipError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<SignZipError> for ZipsignError
impl From<SignZipError> for ZipsignError
source§fn from(source: SignZipError) -> Self
fn from(source: SignZipError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SignZipError
impl Send for SignZipError
impl Sync for SignZipError
impl Unpin for SignZipError
impl !UnwindSafe for SignZipError
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