pub enum CupVerificationError {
EtagHeaderMissing,
EtagNotString(ToStrError),
EtagMalformed,
RequestHashMalformed,
RequestHashMismatch,
SignatureMalformed,
SpecifiedPublicKeyIdMissing,
SignatureError(Error),
}
Expand description
Error enum listing different kinds of CUPv2 verification errors.
Variants§
EtagHeaderMissing
EtagNotString(ToStrError)
EtagMalformed
RequestHashMalformed
RequestHashMismatch
SignatureMalformed
SpecifiedPublicKeyIdMissing
SignatureError(Error)
Trait Implementations§
Source§impl Debug for CupVerificationError
impl Debug for CupVerificationError
Source§impl Display for CupVerificationError
impl Display for CupVerificationError
Source§impl Error for CupVerificationError
impl Error for CupVerificationError
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<CupVerificationError> for OmahaRequestError
impl From<CupVerificationError> for OmahaRequestError
Source§fn from(source: CupVerificationError) -> Self
fn from(source: CupVerificationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CupVerificationError
impl !RefUnwindSafe for CupVerificationError
impl Send for CupVerificationError
impl Sync for CupVerificationError
impl Unpin for CupVerificationError
impl !UnwindSafe for CupVerificationError
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