pub enum PlannedHashReason {
PlannerPredictsHashWins,
IncompleteStatsSafeDefault,
}Expand description
Auditable reason for a structured hash route.
Variants§
PlannerPredictsHashWins
Planner had complete stats and predicted hash lower-cost.
IncompleteStatsSafeDefault
Planner could not build a complete stats-backed plan.
Trait Implementations§
Source§impl Clone for PlannedHashReason
impl Clone for PlannedHashReason
Source§fn clone(&self) -> PlannedHashReason
fn clone(&self) -> PlannedHashReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlannedHashReason
Source§impl Debug for PlannedHashReason
impl Debug for PlannedHashReason
impl Eq for PlannedHashReason
Source§impl PartialEq for PlannedHashReason
impl PartialEq for PlannedHashReason
Source§fn eq(&self, other: &PlannedHashReason) -> bool
fn eq(&self, other: &PlannedHashReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlannedHashReason
Auto Trait Implementations§
impl Freeze for PlannedHashReason
impl RefUnwindSafe for PlannedHashReason
impl Send for PlannedHashReason
impl Sync for PlannedHashReason
impl Unpin for PlannedHashReason
impl UnsafeUnpin for PlannedHashReason
impl UnwindSafe for PlannedHashReason
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more