Enum optee_teec::ErrorKind
source · #[repr(u32)]pub enum ErrorKind {
Show 20 variants
Generic = 4_294_901_760,
AccessDenied = 4_294_901_761,
Cancel = 4_294_901_762,
AccessConflict = 4_294_901_763,
ExcessData = 4_294_901_764,
BadFormat = 4_294_901_765,
BadParameters = 4_294_901_766,
BadState = 4_294_901_767,
ItemNotFound = 4_294_901_768,
NotImplemented = 4_294_901_769,
NotSupported = 4_294_901_770,
NoData = 4_294_901_771,
OutOfMemory = 4_294_901_772,
Busy = 4_294_901_773,
Communication = 4_294_901_774,
Security = 4_294_901_775,
ShortBuffer = 4_294_901_776,
ExternalCancel = 4_294_901_777,
TargetDead = 4_294_914_084,
Unknown = 4294914085,
}
Expand description
A list specifying general categories of TEE client error and its corresponding code in OP-TEE client library.
Variants§
Generic = 4_294_901_760
Non-specific cause.
AccessDenied = 4_294_901_761
Access privileges are not sufficient.
Cancel = 4_294_901_762
The operation was canceled.
AccessConflict = 4_294_901_763
Concurrent accesses caused conflict.
ExcessData = 4_294_901_764
Too much data for the requested operation was passed.
BadFormat = 4_294_901_765
Input data was of invalid format.
BadParameters = 4_294_901_766
Input parameters were invalid.
BadState = 4_294_901_767
Operation is not valid in the current state.
ItemNotFound = 4_294_901_768
The requested data item is not found.
NotImplemented = 4_294_901_769
The requested operation should exist but is not yet implemented.
NotSupported = 4_294_901_770
The requested operation is valid but is not supported in this implementation.
NoData = 4_294_901_771
Expected data was missing.
OutOfMemory = 4_294_901_772
System ran out of resources.
Busy = 4_294_901_773
The system is busy working on something else.
Communication = 4_294_901_774
Communication with a remote party failed.
Security = 4_294_901_775
A security fault was detected.
ShortBuffer = 4_294_901_776
The supplied buffer is too short for the generated output.
ExternalCancel = 4_294_901_777
Implementation defined error code.
TargetDead = 4_294_914_084
Implementation defined error code: trusted Application has panicked during the operation.
Unknown = 4294914085
Unknown error.
Trait Implementations§
source§impl FromPrimitive for ErrorKind
impl FromPrimitive for ErrorKind
source§impl Ord for ErrorKind
impl Ord for ErrorKind
source§impl PartialEq for ErrorKind
impl PartialEq for ErrorKind
source§impl PartialOrd for ErrorKind
impl PartialOrd for ErrorKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more