Enum zipsign_api::verify::VerifyZipError
source · pub enum VerifyZipError {
InputRead(Error),
NoMatch(NoMatch),
ReadSignaturesError(ReadSignaturesError),
}Expand description
An error retuned by verify_zip()
Variants§
InputRead(Error)
Could not read input
NoMatch(NoMatch)
No matching key/signature pair found
ReadSignaturesError(ReadSignaturesError)
Could not read signatures from input
Trait Implementations§
source§impl Debug for VerifyZipError
impl Debug for VerifyZipError
source§impl Display for VerifyZipError
impl Display for VerifyZipError
source§impl Error for VerifyZipError
impl Error for VerifyZipError
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<VerifyZipError> for ZipsignError
impl From<VerifyZipError> for ZipsignError
source§fn from(source: VerifyZipError) -> Self
fn from(source: VerifyZipError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for VerifyZipError
impl Send for VerifyZipError
impl Sync for VerifyZipError
impl Unpin for VerifyZipError
impl !UnwindSafe for VerifyZipError
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