Skip to main content

AppPublic

Trait AppPublic 

Source
pub trait AppPublic:
    AppCrypto
    + Public
    + Debug
    + MaybeHash
    + Codec {
    type Generic: IsWrappedBy<Self> + Public + Debug + MaybeHash + Codec;
}
Expand description

Application-specific public key.

Required Associated Types§

Source

type Generic: IsWrappedBy<Self> + Public + Debug + MaybeHash + Codec

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl AppPublic for sp_application_crypto::ecdsa::AppPublic

Source§

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

Source§

impl AppPublic for sp_application_crypto::ed25519::AppPublic

Source§

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

Source§

impl AppPublic for sp_application_crypto::sr25519::AppPublic

Source§

type Generic = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>