pub enum AppUpdateError {
Unsupported,
Request(String),
Unverifiable,
MalformedDigest(String),
VerificationFailed {
expected: String,
actual: String,
},
}Expand description
Failure to start an update operation.
Variants§
Unsupported
This platform has no registered installer.
Request(String)
The platform rejected the request before work started.
Unverifiable
The release feed published no digest for this package.
Refused rather than installed: this is an application replacing itself with bytes off the network, and bytes nobody checked are bytes nobody checked whether or not the feed mentioned it. A feed that publishes no digest is a feed to fix, not a check to skip.
MalformedDigest(String)
The release feed published a digest this framework cannot check.
Refused rather than ignored: a digest nobody checks reads as a package that was verified.
VerificationFailed
What arrived is not what the release feed promised.
Trait Implementations§
Source§impl Clone for AppUpdateError
impl Clone for AppUpdateError
Source§fn clone(&self) -> AppUpdateError
fn clone(&self) -> AppUpdateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppUpdateError
impl Debug for AppUpdateError
Source§impl Display for AppUpdateError
impl Display for AppUpdateError
impl Eq for AppUpdateError
Source§impl Error for AppUpdateError
impl Error for AppUpdateError
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()
Source§impl PartialEq for AppUpdateError
impl PartialEq for AppUpdateError
impl StructuralPartialEq for AppUpdateError
Auto Trait Implementations§
impl Freeze for AppUpdateError
impl RefUnwindSafe for AppUpdateError
impl Send for AppUpdateError
impl Sync for AppUpdateError
impl Unpin for AppUpdateError
impl UnsafeUnpin for AppUpdateError
impl UnwindSafe for AppUpdateError
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