pub enum CatchUpProcessingOutcome {
Good(GoodCatchUp),
Bad(BadCatchUp),
Useless,
}
Expand description
The outcome of processing a catch up.
Variants§
Good(GoodCatchUp)
It was beneficial to process this catch up.
Bad(BadCatchUp)
It wasn’t beneficial to process this catch up, it is invalid and we wasted resources.
Useless
The catch up wasn’t processed because it is useless, e.g. it is for a round lower than we’re currently in.
Trait Implementations§
source§impl Clone for CatchUpProcessingOutcome
impl Clone for CatchUpProcessingOutcome
source§fn clone(&self) -> CatchUpProcessingOutcome
fn clone(&self) -> CatchUpProcessingOutcome
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CatchUpProcessingOutcome
impl Debug for CatchUpProcessingOutcome
source§impl PartialEq<CatchUpProcessingOutcome> for CatchUpProcessingOutcome
impl PartialEq<CatchUpProcessingOutcome> for CatchUpProcessingOutcome
source§fn eq(&self, other: &CatchUpProcessingOutcome) -> bool
fn eq(&self, other: &CatchUpProcessingOutcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.