pub struct PublicKey(/* private fields */);Expand description
An X25519 public key.
Implementations§
Trait Implementations§
impl Copy for PublicKey
impl Eq for PublicKey
Source§impl From<&StaticSecret> for PublicKey
impl From<&StaticSecret> for PublicKey
Source§fn from(secret: &StaticSecret) -> Self
fn from(secret: &StaticSecret) -> Self
Converts to this type from the input type.
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 UnsafeUnpin 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