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