referrerpolicy=no-referrer-when-downgrade

Trait RcClientInterface

Source
pub trait RcClientInterface {
    type AccountId;

    // Required method
    fn validator_set(
        new_validator_set: Vec<Self::AccountId>,
        id: u32,
        prune_up_tp: Option<u32>,
    );
}
Expand description

The communication trait of pallet-staking-async -> pallet-staking-async-rc-client.

Required Associated Types§

Source

type AccountId

The validator account ids.

Required Methods§

Source

fn validator_set( new_validator_set: Vec<Self::AccountId>, id: u32, prune_up_tp: Option<u32>, )

Report a new validator set.

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§