#[non_exhaustive]pub enum RenewError {
Show 14 variants
ManifestUnreachable,
ManifestMalformed,
BadPublicKey,
BadSignature,
NoPlatformBinary,
DownloadFailed,
BadVersion,
StageFailed {
source: Error,
},
VerifyFailed {
detail: String,
},
InsecureUrl,
SwapFailed {
source: Error,
},
NoAppBundle,
NotWritable {
path: PathBuf,
},
StaleManifest {
issued: Option<u64>,
not_before: u64,
},
}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.
ManifestUnreachable
ManifestMalformed
BadPublicKey
BadSignature
NoPlatformBinary
DownloadFailed
BadVersion
StageFailed
VerifyFailed
InsecureUrl
SwapFailed
NoAppBundle
NotWritable
StaleManifest
Trait Implementations§
Source§impl Debug for RenewError
impl Debug for RenewError
Source§impl Display for RenewError
impl Display for RenewError
Source§impl Error for RenewError
impl Error for RenewError
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 RenewError
impl !RefUnwindSafe for RenewError
impl Send for RenewError
impl Sync for RenewError
impl Unpin for RenewError
impl UnsafeUnpin for RenewError
impl !UnwindSafe for RenewError
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