referrerpolicy=no-referrer-when-downgrade
sp_npos_elections::traits

Trait IdentifierT

Source
pub trait IdentifierT:
    Clone
    + Eq
    + Ord
    + Debug
    + Codec { }
Expand description

an aggregator trait for a generic type of a voter/target identifier. This usually maps to substrate’s account id.

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<T: Clone + Eq + Ord + Debug + Codec> IdentifierT for T