Struct libp2p_identity::ecdsa::Keypair
source · pub struct Keypair { /* private fields */ }
Available on crate feature
ecdsa
only.Expand description
An ECDSA keypair generated using secp256r1
curve.
Implementations§
Trait Implementations§
source§impl From<Keypair> for Keypair
Available on crate features ecdsa
or secp256k1
or ed25519
or rsa
only.
impl From<Keypair> for Keypair
Available on crate features
ecdsa
or secp256k1
or ed25519
or rsa
only.Auto Trait Implementations§
impl RefUnwindSafe for Keypair
impl Send for Keypair
impl Sync for Keypair
impl Unpin 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