Enum minerva_voucher::VoucherError
source · [−]pub enum VoucherError {
CborFailure(CborError),
CoseFailure(CoseError),
InvalidArgument,
MalformedInput,
MissingAttributes,
SigningFailed,
UnexpectedCborType,
ValidationFailed,
}
Expand description
Errors that can be returned from Voucher
functions.
Variants
CborFailure(CborError)
CoseFailure(CoseError)
InvalidArgument
MalformedInput
MissingAttributes
SigningFailed
UnexpectedCborType
ValidationFailed
Trait Implementations
sourceimpl Clone for VoucherError
impl Clone for VoucherError
sourcefn clone(&self) -> VoucherError
fn clone(&self) -> VoucherError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VoucherError
impl Debug for VoucherError
sourceimpl PartialEq<VoucherError> for VoucherError
impl PartialEq<VoucherError> for VoucherError
sourcefn eq(&self, other: &VoucherError) -> bool
fn eq(&self, other: &VoucherError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VoucherError) -> bool
fn ne(&self, other: &VoucherError) -> bool
This method tests for !=
.
impl Copy for VoucherError
impl StructuralPartialEq for VoucherError
Auto Trait Implementations
impl RefUnwindSafe for VoucherError
impl Send for VoucherError
impl Sync for VoucherError
impl Unpin for VoucherError
impl UnwindSafe for VoucherError
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