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

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

Required methods

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

Implementors