Enum sgx_types::types::SgxDeviceStatus
source · [−]#[repr(u32)]
pub enum SgxDeviceStatus {
Enabled,
RebootRequired,
LegacyOs,
Disabled,
SciAvailable,
ManualEnable,
HypervEnable,
Unsupported,
}
Variants
Enabled
RebootRequired
LegacyOs
Disabled
SciAvailable
ManualEnable
HypervEnable
Unsupported
Trait Implementations
sourceimpl Clone for SgxDeviceStatus
impl Clone for SgxDeviceStatus
sourcefn clone(&self) -> SgxDeviceStatus
fn clone(&self) -> SgxDeviceStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SgxDeviceStatus
impl Debug for SgxDeviceStatus
sourceimpl Default for SgxDeviceStatus
impl Default for SgxDeviceStatus
sourcefn default() -> SgxDeviceStatus
fn default() -> SgxDeviceStatus
Returns the “default value” for a type. Read more
sourceimpl From<SgxDeviceStatus> for u32
impl From<SgxDeviceStatus> for u32
sourcefn from(n: SgxDeviceStatus) -> u32
fn from(n: SgxDeviceStatus) -> u32
Converts to this type from the input type.
sourceimpl PartialEq<SgxDeviceStatus> for SgxDeviceStatus
impl PartialEq<SgxDeviceStatus> for SgxDeviceStatus
sourcefn eq(&self, other: &SgxDeviceStatus) -> bool
fn eq(&self, other: &SgxDeviceStatus) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more