DenyReason
Why a candidate's RequestVote or PreVote was denied by the responding node.
A denial can have more than one of these at once, which is why the trace events carry a reasons: Set<DenyReason> rather than a single value (#2052). The vote decision is a conjunction; a candidate can fail several of its clauses on one ordinary trajectory — AlreadyVoted together with LogNotUpToDate is just a split vote against a lagging candidate — and reporting only the first makes every other failing clause unobservable through this channel, including §5.4.1.
Entries
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.