Enum libp2p_identity::KeyType
source · pub enum KeyType {
Ed25519,
RSA,
Secp256k1,
Ecdsa,
}
Expand description
The type of key a KeyPair
is holding.
Variants§
Trait Implementations§
source§impl PartialEq<KeyType> for KeyType
impl PartialEq<KeyType> for KeyType
impl Eq for KeyType
impl StructuralEq for KeyType
impl StructuralPartialEq for KeyType
Auto Trait Implementations§
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
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