Enum zipsign_api::verify::VerifyTarError
source · pub enum VerifyTarError {
Base64,
Empty,
Gzip,
LengthMismatch,
MagicHeader,
NoMatch(NoMatch),
Read(Error),
Seek(Error),
Signature(SignatureError, usize),
TooManySignatures,
}Expand description
An error returned by verify_tar()
Variants§
Base64
The input contained invalid base64 encoded data
Empty
The input contained no signatures
Gzip
The expected last GZIP block was missing or corrupted
LengthMismatch
The encoded length did not fit the expected length
MagicHeader
The expected magic header was missing or corrupted
NoMatch(NoMatch)
No matching key/signature pair found
Read(Error)
Could not read input
Seek(Error)
Could not seek inside the input
Signature(SignatureError, usize)
The input contained an illegal signature
TooManySignatures
Too many signatures in input
Trait Implementations§
source§impl Debug for VerifyTarError
impl Debug for VerifyTarError
source§impl Display for VerifyTarError
impl Display for VerifyTarError
source§impl Error for VerifyTarError
impl Error for VerifyTarError
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<VerifyTarError> for ZipsignError
impl From<VerifyTarError> for ZipsignError
source§fn from(source: VerifyTarError) -> Self
fn from(source: VerifyTarError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for VerifyTarError
impl Send for VerifyTarError
impl Sync for VerifyTarError
impl Unpin for VerifyTarError
impl !UnwindSafe for VerifyTarError
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