Enum optee_utee::ErrorKind [−][src]
#[repr(u32)]
pub enum ErrorKind {
Show 30 variants
CorruptObject,
CorruptObject2,
StorageNotAvailable,
StorageNotAvailable2,
Generic,
AccessDenied,
Cancel,
AccessConflict,
ExcessData,
BadFormat,
BadParameters,
BadState,
ItemNotFound,
NotImplemented,
NotSupported,
NoData,
OutOfMemory,
Busy,
Communication,
Security,
ShortBuffer,
ExternalCancel,
Overflow,
TargetDead,
StorageNoSpace,
MacInvalid,
SignatureInvalid,
TimeNotSet,
TimeNeedsReset,
Unknown,
}
Expand description
A list specifying general categories of TEE error and its corresponding code in OP-TEE OS.
Variants
Object corruption.
Persistent object corruption.
Object storage is not available.
Persistent object storage is not available.
Non-specific cause.
Access privileges are not sufficient.
The operation was canceled.
Concurrent accesses caused conflict.
Too much data for the requested operation was passed.
Input data was of invalid format.
Input parameters were invalid.
Operation is not valid in the current state.
The requested data item is not found.
The requested operation should exist but is not yet implemented.
The requested operation is valid but is not supported in this implementation.
Expected data was missing.
System ran out of resources.
The system is busy working on something else.
Communication with a remote party failed.
A security fault was detected.
The supplied buffer is too short for the generated output.
The operation has been cancelled by an external event which occurred in the REE while the function was in progress.
Data overflow.
Trusted Application has panicked during the operation.
Insufficient space is available.
MAC is invalid.
Signature is invalid.
The persistent time has not been set.
The persistent time has been set but may have been corrupted and SHALL no longer be trusted.
Unknown error.
Trait Implementations
This method returns an [Ordering
] between self
and other
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more