Enum optee_teec::ErrorOrigin
source · #[repr(u32)]pub enum ErrorOrigin {
API = 1,
COMMS = 2,
TEE = 3,
TA = 4,
UNKNOWN = 5,
}
Variants§
Trait Implementations§
source§impl Clone for ErrorOrigin
impl Clone for ErrorOrigin
source§fn clone(&self) -> ErrorOrigin
fn clone(&self) -> ErrorOrigin
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ErrorOrigin
impl Debug for ErrorOrigin
source§impl From<ErrorOrigin> for u32
impl From<ErrorOrigin> for u32
source§fn from(enum_value: ErrorOrigin) -> Self
fn from(enum_value: ErrorOrigin) -> Self
Converts to this type from the input type.
source§impl From<u32> for ErrorOrigin
impl From<u32> for ErrorOrigin
source§impl FromPrimitive for ErrorOrigin
impl FromPrimitive for ErrorOrigin
source§impl PartialEq for ErrorOrigin
impl PartialEq for ErrorOrigin
source§fn eq(&self, other: &ErrorOrigin) -> bool
fn eq(&self, other: &ErrorOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ErrorOrigin
impl StructuralPartialEq for ErrorOrigin
Auto Trait Implementations§
impl Freeze for ErrorOrigin
impl RefUnwindSafe for ErrorOrigin
impl Send for ErrorOrigin
impl Sync for ErrorOrigin
impl Unpin for ErrorOrigin
impl UnwindSafe for ErrorOrigin
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
Mutably borrows from an owned value. Read more