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