#[non_exhaustive]pub enum ArtifactSigningError {
IdentityNotFound,
KeyResolutionFailed(String),
KeyDecryptionFailed(String),
DigestFailed(String),
AttestationFailed(String),
ResignFailed(String),
}Expand description
Errors from the artifact attestation signing workflow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IdentityNotFound
No auths identity was found in the configured identity storage.
KeyResolutionFailed(String)
The key alias could not be resolved to usable key material.
KeyDecryptionFailed(String)
The encrypted key material could not be decrypted (e.g. wrong passphrase).
DigestFailed(String)
Computing the artifact digest failed.
AttestationFailed(String)
Building or serializing the attestation failed.
ResignFailed(String)
Adding the device signature to a partially-signed attestation failed.
Trait Implementations§
Source§impl Debug for ArtifactSigningError
impl Debug for ArtifactSigningError
Source§impl Display for ArtifactSigningError
impl Display for ArtifactSigningError
Source§impl Error for ArtifactSigningError
impl Error for ArtifactSigningError
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()
Auto Trait Implementations§
impl Freeze for ArtifactSigningError
impl RefUnwindSafe for ArtifactSigningError
impl Send for ArtifactSigningError
impl Sync for ArtifactSigningError
impl Unpin for ArtifactSigningError
impl UnsafeUnpin for ArtifactSigningError
impl UnwindSafe for ArtifactSigningError
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