pub enum ErrorKind {
Show 20 variants
Generic = -65_536,
AccessDenied = -65_535,
Cancel = -65_534,
AccessConflict = -65_533,
ExcessData = -65_532,
BadFormat = -65_531,
BadParameters = -65_530,
BadState = -65_529,
ItemNotFound = -65_528,
NotImplemented = -65_527,
NotSupported = -65_526,
NoData = -65_525,
OutOfMEmory = -65_524,
Busy = -65_523,
Communication = -65_522,
Security = -65_521,
ShortBuffer = -65_520,
ExternalCancel = -65_519,
TargetDead = -53_212,
Unknown = 4294914085,
}
Expand description
A list specifying general categories of TEE client error and its corresponding code in OP-TEE client library.
Variants§
Generic = -65_536
Non-specific cause.
AccessDenied = -65_535
Access privileges are not sufficient.
Cancel = -65_534
The operation was canceled.
AccessConflict = -65_533
Concurrent accesses caused conflict.
ExcessData = -65_532
Too much data for the requested operation was passed.
BadFormat = -65_531
Input data was of invalid format.
BadParameters = -65_530
Input parameters were invalid.
BadState = -65_529
Operation is not valid in the current state.
ItemNotFound = -65_528
The requested data item is not found.
NotImplemented = -65_527
The requested operation should exist but is not yet implemented.
NotSupported = -65_526
The requested operation is valid but is not supported in this implementation.
NoData = -65_525
Expected data was missing.
OutOfMEmory = -65_524
System ran out of resources.
Busy = -65_523
The system is busy working on something else.
Communication = -65_522
Communication with a remote party failed.
Security = -65_521
A security fault was detected.
ShortBuffer = -65_520
The supplied buffer is too short for the generated output.
ExternalCancel = -65_519
Implementation defined error code.
TargetDead = -53_212
Implementation defined error code: trusted Application has panicked during the operation.
Unknown = 4294914085
Unknown error.
Trait Implementations§
Source§impl Ord for ErrorKind
impl Ord for ErrorKind
Source§impl PartialOrd for ErrorKind
impl PartialOrd for ErrorKind
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)