pub trait StakeTableEntryType<K> {
// Required methods
fn stake(&self) -> U256;
fn public_key(&self) -> K;
}Expand description
Type representing stake table entries in a StakeTable
Required Methods§
Sourcefn public_key(&self) -> K
fn public_key(&self) -> K
Get the public key
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".