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 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
)