#[repr(u32)]pub enum ECallStatus {
InvalidAttribute = 2,
InvalidCPUSVN = 32,
InvalidISVSVN = 64,
InvalidKeyname = 256,
Unknown = 4_294_967_295,
}Expand description
The error status of a malformed ENCLU call
Variants§
InvalidAttribute = 2
InvalidCPUSVN = 32
InvalidISVSVN = 64
InvalidKeyname = 256
Unknown = 4_294_967_295
Trait Implementations§
Source§impl Clone for ECallStatus
impl Clone for ECallStatus
Source§fn clone(&self) -> ECallStatus
fn clone(&self) -> ECallStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ECallStatus
impl Debug for ECallStatus
Source§impl Display for ECallStatus
impl Display for ECallStatus
Source§impl Error for ECallStatus
Available on crate feature std only.
impl Error for ECallStatus
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<u32> for ECallStatus
impl From<u32> for ECallStatus
Source§impl Ord for ECallStatus
impl Ord for ECallStatus
Source§fn cmp(&self, other: &ECallStatus) -> Ordering
fn cmp(&self, other: &ECallStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ECallStatus
impl PartialEq for ECallStatus
Source§fn eq(&self, other: &ECallStatus) -> bool
fn eq(&self, other: &ECallStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ECallStatus
impl PartialOrd for ECallStatus
impl Copy for ECallStatus
impl Eq for ECallStatus
impl StructuralPartialEq for ECallStatus
Auto Trait Implementations§
impl Freeze for ECallStatus
impl RefUnwindSafe for ECallStatus
impl Send for ECallStatus
impl Sync for ECallStatus
impl Unpin for ECallStatus
impl UnsafeUnpin for ECallStatus
impl UnwindSafe for ECallStatus
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