pub enum PublicKey {
Rsa(EncapsulatedRsaPublicKey),
Ec(EncapsulatedEcPoint),
Ed(EncapsulatedEcPoint),
}
Variants§
Rsa(EncapsulatedRsaPublicKey)
Ec(EncapsulatedEcPoint)
Ed(EncapsulatedEcPoint)
Used For Ed25519, Ed448, X25519, and X448 keys
Trait Implementations§
source§impl PartialEq for PublicKey
impl PartialEq for PublicKey
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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
)