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