#[repr(transparent)]pub struct KeyType { /* private fields */ }Expand description
Key type
Implementations
sourceimpl KeyType
impl KeyType
sourcepub const EC_EDWARDS: KeyType
pub const EC_EDWARDS: KeyType
EC edwards key
sourcepub const EC_MONTGOMERY: KeyType
pub const EC_MONTGOMERY: KeyType
EC montgomery key
sourcepub const GENERIC_SECRET: KeyType
pub const GENERIC_SECRET: KeyType
Generic secret
Trait Implementations
sourceimpl Deref for KeyType
impl Deref for KeyType
type Target = CK_KEY_TYPE
type Target = CK_KEY_TYPE
The resulting type after dereferencing.
sourceimpl From<KeyType> for CK_KEY_TYPE
impl From<KeyType> for CK_KEY_TYPE
impl Copy for KeyType
impl Eq for KeyType
impl StructuralEq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more