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§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
)