Enum sgx_types::types::DhSessionRole
source · [−]#[repr(u32)]
pub enum DhSessionRole {
Initiator,
Responder,
}
Variants
Initiator
Responder
Trait Implementations
sourceimpl Clone for DhSessionRole
impl Clone for DhSessionRole
sourcefn clone(&self) -> DhSessionRole
fn clone(&self) -> DhSessionRole
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 DhSessionRole
impl Debug for DhSessionRole
sourceimpl Default for DhSessionRole
impl Default for DhSessionRole
sourcefn default() -> DhSessionRole
fn default() -> DhSessionRole
Returns the “default value” for a type. Read more
sourceimpl From<DhSessionRole> for u32
impl From<DhSessionRole> for u32
sourcefn from(n: DhSessionRole) -> u32
fn from(n: DhSessionRole) -> u32
Converts to this type from the input type.
sourceimpl PartialEq<DhSessionRole> for DhSessionRole
impl PartialEq<DhSessionRole> for DhSessionRole
sourcefn eq(&self, other: &DhSessionRole) -> bool
fn eq(&self, other: &DhSessionRole) -> bool
sourceimpl 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
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