pub struct Keypair {
pub public: PublicKey,
pub secret: SecretKey,
}Available on
cortex_m4 only.Expand description
NIST P-256 keypair.
Fields§
§public: PublicKeyPublic key of the keypair
secret: SecretKeySecret key of the keypair
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keypair
impl RefUnwindSafe for Keypair
impl Send for Keypair
impl Sync for Keypair
impl Unpin for Keypair
impl UnsafeUnpin for Keypair
impl UnwindSafe for Keypair
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