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 for CatchUpProcessingOutcome
impl PartialEq for CatchUpProcessingOutcome
impl Eq for CatchUpProcessingOutcome
impl StructuralPartialEq for CatchUpProcessingOutcome
Auto Trait Implementations§
impl Freeze for CatchUpProcessingOutcome
impl RefUnwindSafe for CatchUpProcessingOutcome
impl Send for CatchUpProcessingOutcome
impl Sync for CatchUpProcessingOutcome
impl Unpin for CatchUpProcessingOutcome
impl UnwindSafe for CatchUpProcessingOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more