pub struct Id(/* private fields */);
Expand description
An identifier of a kind of key.
Implementations§
source§impl Id
impl Id
pub const RSA: Id = _
pub const RSA_PSS: Id = _
pub const HMAC: Id = _
pub const CMAC: Id = _
pub const DSA: Id = _
pub const DH: Id = _
pub const DHX: Id = _
pub const EC: Id = _
pub const SM2: Id = _
pub const HKDF: Id = _
pub const ED25519: Id = _
pub const ED448: Id = _
pub const X25519: Id = _
pub const X448: Id = _
pub const POLY1305: Id = _
Trait Implementations§
impl Copy for Id
impl Eq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)