Enum minerva_voucher::debug::CoseError
[−]pub enum CoseError {
DecodingFailure,
LibraryFailure,
MalformedInput,
MissingHeader,
UnexpectedHeaderValue,
UnexpectedTag,
UnexpectedType,
Unimplemented,
VerificationFailed,
UnknownSignatureScheme,
SigningFailed,
InvalidArgument,
}
Expand description
Errors that can be returned from COSE functions.
Variants
DecodingFailure
LibraryFailure
MalformedInput
MissingHeader
UnexpectedHeaderValue
UnexpectedTag
UnexpectedType
Unimplemented
VerificationFailed
UnknownSignatureScheme
SigningFailed
InvalidArgument
Trait Implementations
impl Copy for CoseError
impl StructuralPartialEq for CoseError
Auto Trait Implementations
impl RefUnwindSafe for CoseError
impl Send for CoseError
impl Sync for CoseError
impl Unpin for CoseError
impl UnwindSafe for CoseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more