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