pub enum CoseVerificationError {
UnsupportedAlgorithm(Algorithm),
PublicKey(KeyDecodingError),
Verification(VerificationError),
}Variants§
Trait Implementations§
Source§impl Debug for CoseVerificationError
impl Debug for CoseVerificationError
Source§impl Display for CoseVerificationError
impl Display for CoseVerificationError
Source§impl Error for CoseVerificationError
impl Error for CoseVerificationError
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<CoseVerificationError> for ProofValidationError
impl From<CoseVerificationError> for ProofValidationError
Source§fn from(value: CoseVerificationError) -> Self
fn from(value: CoseVerificationError) -> Self
Converts to this type from the input type.
Source§impl From<KeyDecodingError> for CoseVerificationError
impl From<KeyDecodingError> for CoseVerificationError
Source§fn from(source: KeyDecodingError) -> Self
fn from(source: KeyDecodingError) -> Self
Converts to this type from the input type.
Source§impl From<VerificationError> for CoseVerificationError
impl From<VerificationError> for CoseVerificationError
Source§fn from(source: VerificationError) -> Self
fn from(source: VerificationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CoseVerificationError
impl RefUnwindSafe for CoseVerificationError
impl Send for CoseVerificationError
impl Sync for CoseVerificationError
impl Unpin for CoseVerificationError
impl UnwindSafe for CoseVerificationError
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.