Enum rosetta_crypto::Signature
source · pub enum Signature {
EcdsaSecp256k1(Signature<Secp256k1>),
EcdsaRecoverableSecp256k1(Signature<Secp256k1>, RecoveryId),
EcdsaSecp256r1(Signature<NistP256>),
Ed25519(Signature),
Sr25519(Signature),
}
Expand description
Signature.
Variants§
EcdsaSecp256k1(Signature<Secp256k1>)
ECDSA with secp256k1.
EcdsaRecoverableSecp256k1(Signature<Secp256k1>, RecoveryId)
ECDSA with secp256k1 in Ethereum compatible format.
EcdsaSecp256r1(Signature<NistP256>)
ECDSA with NIST P-256.
Ed25519(Signature)
Ed25519.
Sr25519(Signature)
Schnorrkel used by substrate/polkadot.
Implementations§
Trait Implementations§
source§impl PartialEq<Signature> for Signature
impl PartialEq<Signature> for Signature
impl Copy for Signature
impl Eq for Signature
impl StructuralEq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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