gclient::ext::sp_runtime::app_crypto

Trait AppSignature

pub trait AppSignature:
    AppCrypto
    + Eq
    + PartialEq
    + Debug
    + Clone {
    type Generic: IsWrappedBy<Self> + Eq + PartialEq + Debug;
}
Expand description

Application-specific signature.

Required Associated Types§

type Generic: IsWrappedBy<Self> + Eq + PartialEq + Debug

The wrapped type which is just a plain instance of Signature.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl AppSignature for gclient::ext::sp_runtime::app_crypto::ecdsa::AppSignature

§

type Generic = CryptoBytes<sp_core::::ecdsa::Signature::{constant#0}, (SignatureTag, EcdsaTag)>

§

impl AppSignature for gclient::ext::sp_runtime::app_crypto::ed25519::AppSignature

§

type Generic = CryptoBytes<sp_core::::ed25519::Signature::{constant#0}, (SignatureTag, Ed25519Tag)>

§

impl AppSignature for gclient::ext::sp_runtime::app_crypto::sr25519::AppSignature

§

type Generic = CryptoBytes<sp_core::::sr25519::Signature::{constant#0}, (SignatureTag, Sr25519Tag)>