pub enum EnclaveError {
AlreadyInitialized,
NotReady,
NotInSecureMode,
AttestationFailed,
AuthenticationFailed,
PlatformNotSupported,
HardwareError(String),
MemoryError,
}Expand description
Errors that can occur in enclave operations
Variants§
AlreadyInitialized
Enclave already initialized
NotReady
Enclave not ready
NotInSecureMode
Not in secure mode
AttestationFailed
Attestation failed
AuthenticationFailed
Authentication failed (seal/unseal)
PlatformNotSupported
Platform not supported
HardwareError(String)
Hardware error
MemoryError
Memory allocation error
Trait Implementations§
Source§impl Clone for EnclaveError
impl Clone for EnclaveError
Source§fn clone(&self) -> EnclaveError
fn clone(&self) -> EnclaveError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnclaveError
impl Debug for EnclaveError
Source§impl Display for EnclaveError
impl Display for EnclaveError
Source§impl Error for EnclaveError
impl Error for EnclaveError
1.30.0 · 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 PartialEq for EnclaveError
impl PartialEq for EnclaveError
impl StructuralPartialEq for EnclaveError
Auto Trait Implementations§
impl Freeze for EnclaveError
impl RefUnwindSafe for EnclaveError
impl Send for EnclaveError
impl Sync for EnclaveError
impl Unpin for EnclaveError
impl UnwindSafe for EnclaveError
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