pub type VoteFor<N> = VoteFor<InvocationOf<N>>;Expand description
Invokes Vote type constructor so as to be compatible with N.
Aliased Type§
pub enum VoteFor<N> {
Given(Promise<<<N as Node>::Invocation as Invocation>::RoundNum, <<N as Node>::Invocation as Invocation>::CoordNum, <<<N as Node>::Invocation as Invocation>::State as State>::LogEntry>),
Conflicted(Conflict<<<N as Node>::Invocation as Invocation>::CoordNum, <<<N as Node>::Invocation as Invocation>::State as State>::LogEntry>),
Abstained(<<N as Node>::Invocation as Invocation>::Abstain),
}Variants§
Given(Promise<<<N as Node>::Invocation as Invocation>::RoundNum, <<N as Node>::Invocation as Invocation>::CoordNum, <<<N as Node>::Invocation as Invocation>::State as State>::LogEntry>)
The node voted for the candidate.
Conflicted(Conflict<<<N as Node>::Invocation as Invocation>::CoordNum, <<<N as Node>::Invocation as Invocation>::State as State>::LogEntry>)
The node couldn’t vote for the candidate.
Abstained(<<N as Node>::Invocation as Invocation>::Abstain)
The node abstained, refusing to vote at all.