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