Enum optee_teec::ErrorKind [−][src]
#[repr(u32)]
pub enum ErrorKind {
Show 20 variants
Generic,
AccessDenied,
Cancel,
AccessConflict,
ExcessData,
BadFormat,
BadParameters,
BadState,
ItemNotFound,
NotImplemented,
NotSupported,
NoData,
OutOfMemory,
Busy,
Communication,
Security,
ShortBuffer,
ExternalCancel,
TargetDead,
Unknown,
}
Expand description
A list specifying general categories of TEE client error and its corresponding code in OP-TEE client library.
Variants
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.
Implementation defined error code.
Implementation defined error code: trusted Application has panicked during the operation.
Unknown error.
Trait Implementations
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 UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more