pub enum Error {
InvalidInput(String),
UnknownMember(String),
Io {
operation: &'static str,
source: Error,
},
UpdateInProgress {
lock: PathBuf,
},
DestinationConflict {
destination: PathBuf,
},
VerificationFailed(String),
CandidateExecution(String),
}Expand description
Errors produced while validating a local update plan or preparing private stage state.
Variants§
InvalidInput(String)
A caller supplied a value that violates a core invariant.
UnknownMember(String)
The requested member was not present in the artifact set.
Io
An owned filesystem operation failed.
Fields
UpdateInProgress
Another process or an ambiguous lock record owns the installation domain.
DestinationConflict
A live destination failed the immediate pre-mutation ownership check.
VerificationFailed(String)
Declared integrity or candidate identity evidence did not pass.
CandidateExecution(String)
Candidate execution could not produce an accepted bounded result.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
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