referrerpolicy=no-referrer-when-downgrade
sp_consensus_beefy

Trait AuthorityIdBound

Source
pub trait AuthorityIdBound:
    Ord
    + AppPublic
    + Display
    + BeefyAuthorityId<BeefySignatureHasher, Signature = Self::BoundedSignature> {
    type BoundedSignature: Debug + Eq + PartialEq + Clone + TypeInfo + Codec + Send + Sync;
}
Expand description

A trait bound which lists all traits which are required to be implemented by a BEEFY AuthorityId type in order to be able to be used in BEEFY Keystore

Required Associated Types§

Source

type BoundedSignature: Debug + Eq + PartialEq + Clone + TypeInfo + Codec + Send + Sync

Necessary bounds on the Signature associated with the AuthorityId

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§

Source§

impl AuthorityIdBound for sp_consensus_beefy::bls_crypto::AuthorityId

Source§

impl AuthorityIdBound for sp_consensus_beefy::ecdsa_bls_crypto::AuthorityId

Source§

impl AuthorityIdBound for sp_consensus_beefy::ecdsa_crypto::AuthorityId