pub enum ResolutionError {
ConsentDenied,
IdentityMismatch,
Cancelled,
Install(InstallError),
}Expand description
Errors are deliberately fail-closed and retain the reason for audit output.
Variants§
ConsentDenied
Consent was not granted for the exact request.
IdentityMismatch
Request identity did not match the verified manifest.
Cancelled
The operation exceeded its bound or was cancelled.
Install(InstallError)
Bundle verification or installation failed.
Trait Implementations§
Source§impl Debug for ResolutionError
impl Debug for ResolutionError
Source§impl Display for ResolutionError
impl Display for ResolutionError
Source§impl Error for ResolutionError
impl Error for ResolutionError
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 From<InstallError> for ResolutionError
impl From<InstallError> for ResolutionError
Source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolutionError
impl !UnwindSafe for ResolutionError
impl Freeze for ResolutionError
impl Send for ResolutionError
impl Sync for ResolutionError
impl Unpin for ResolutionError
impl UnsafeUnpin for ResolutionError
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