Type Alias ValidatedOrConfirmedVote

Source
pub type ValidatedOrConfirmedVote<'a> = Either<&'a Vote<ValidatedBlock>, &'a Vote<ConfirmedBlock>>;

Aliased Type§

enum ValidatedOrConfirmedVote<'a> {
    Left(&'a Vote<ValidatedBlock>),
    Right(&'a Vote<ConfirmedBlock>),
}

Variants§

§

Left(&'a Vote<ValidatedBlock>)

First branch of the type

§

Right(&'a Vote<ConfirmedBlock>)

Second branch of the type