Trait finality_grandpa::voter::VoterState[][src]

pub trait VoterState<Id: Eq + Hash> {
    fn get(&self) -> VoterState<Id>;
}

Trait for querying the state of the voter. Used by Voter to return a queryable object without exposing too many data types.

Required methods

fn get(&self) -> VoterState<Id>[src]

Returns a plain data type, report::VoterState, describing the current state of the voter relevant to the voting process.

Loading content...

Implementors

Loading content...