Enum sgx_types::types::SgxDeviceStatus
source · #[repr(u32)]pub enum SgxDeviceStatus {
Enabled = 0,
RebootRequired = 1,
LegacyOs = 2,
Disabled = 3,
SciAvailable = 4,
ManualEnable = 5,
HypervEnable = 6,
Unsupported = 7,
}
Variants§
Enabled = 0
RebootRequired = 1
LegacyOs = 2
Disabled = 3
SciAvailable = 4
ManualEnable = 5
HypervEnable = 6
Unsupported = 7
Trait Implementations§
source§impl Clone for SgxDeviceStatus
impl Clone for SgxDeviceStatus
source§fn clone(&self) -> SgxDeviceStatus
fn clone(&self) -> SgxDeviceStatus
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 SgxDeviceStatus
impl Debug for SgxDeviceStatus
source§impl Default for SgxDeviceStatus
impl Default for SgxDeviceStatus
source§fn default() -> SgxDeviceStatus
fn default() -> SgxDeviceStatus
Returns the “default value” for a type. Read more
source§impl From<SgxDeviceStatus> for u32
impl From<SgxDeviceStatus> for u32
source§fn from(n: SgxDeviceStatus) -> u32
fn from(n: SgxDeviceStatus) -> u32
Converts to this type from the input type.
source§impl PartialEq for SgxDeviceStatus
impl PartialEq for SgxDeviceStatus
source§fn eq(&self, other: &SgxDeviceStatus) -> bool
fn eq(&self, other: &SgxDeviceStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for SgxDeviceStatus
impl TryFrom<u32> for SgxDeviceStatus
impl ContiguousMemory for SgxDeviceStatus
impl Copy for SgxDeviceStatus
impl Eq for SgxDeviceStatus
impl StructuralEq for SgxDeviceStatus
impl StructuralPartialEq for SgxDeviceStatus
Auto Trait Implementations§
impl RefUnwindSafe for SgxDeviceStatus
impl Send for SgxDeviceStatus
impl Sync for SgxDeviceStatus
impl Unpin for SgxDeviceStatus
impl UnwindSafe for SgxDeviceStatus
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