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 StructuralEq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
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