pub enum AttestationError {
InvalidArgument,
GenericError,
NotSupported,
}Expand description
Error kinds returned by AttestationMgr
Variants§
InvalidArgument
Some parameter or combination of parameters are recognised as invalid:
- challenge size is not allowed
- challenge object is unavailable
- token buffer is unavailable
GenericError
An error occurred that does not correspond to any defined failure cause.
NotSupported
The requested operation or a parameter is not supported by this implementation.
Trait Implementations§
Source§impl Debug for AttestationError
impl Debug for AttestationError
Source§impl From<AttestationError> for IsletHESError
impl From<AttestationError> for IsletHESError
Source§fn from(value: AttestationError) -> Self
fn from(value: AttestationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AttestationError
impl PartialEq for AttestationError
Source§fn eq(&self, other: &AttestationError) -> bool
fn eq(&self, other: &AttestationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttestationError
Auto Trait Implementations§
impl Freeze for AttestationError
impl RefUnwindSafe for AttestationError
impl Send for AttestationError
impl Sync for AttestationError
impl Unpin for AttestationError
impl UnsafeUnpin for AttestationError
impl UnwindSafe for AttestationError
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