pub enum RankingMode {
Complexity,
Parity,
}Expand description
Match ranking mode for pool eviction and final ordering.
Variants§
Complexity
Sort by exactness -> error -> complexity (current default behavior)
Parity
Sort by exactness -> error -> legacy signed parity score -> complexity
Trait Implementations§
Source§impl Clone for RankingMode
impl Clone for RankingMode
Source§fn clone(&self) -> RankingMode
fn clone(&self) -> RankingMode
Returns a duplicate 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 RankingMode
impl Debug for RankingMode
Source§impl Default for RankingMode
impl Default for RankingMode
Source§fn default() -> RankingMode
fn default() -> RankingMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for RankingMode
impl PartialEq for RankingMode
impl Copy for RankingMode
impl Eq for RankingMode
impl StructuralPartialEq for RankingMode
Auto Trait Implementations§
impl Freeze for RankingMode
impl RefUnwindSafe for RankingMode
impl Send for RankingMode
impl Sync for RankingMode
impl Unpin for RankingMode
impl UnsafeUnpin for RankingMode
impl UnwindSafe for RankingMode
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