pub enum Importance {
Critical = 4,
Important = 3,
Average = 2,
Iffy = 1,
Fluff = 0,
}Expand description
How relevant a benchmark is.
Variants§
Critical = 4
Regressions shouldn’t be accepted without good reason.
Important = 3
Regressions should be paid extra attention.
Average = 2
No extra attention should be paid to regressions, but they might still be indicative of something happening.
Iffy = 1
Unclear if regressions are likely to be meaningful, but still worth keeping an eye on. Lowest level that’s checked by default by the profiler.
Fluff = 0
Regressions are likely to be spurious or don’t affect core functionality. Only relevant if a lot of them happen, or as supplemental evidence for a higher-importance benchmark regressing. Not checked by default.
Trait Implementations§
Source§impl Clone for Importance
impl Clone for Importance
Source§fn clone(&self) -> Importance
fn clone(&self) -> Importance
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 Importance
impl Debug for Importance
Source§impl Default for Importance
impl Default for Importance
Source§fn default() -> Importance
fn default() -> Importance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Importance
impl<'de> Deserialize<'de> for Importance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Importance
impl Display for Importance
Source§impl Hash for Importance
impl Hash for Importance
Source§impl Ord for Importance
impl Ord for Importance
Source§fn cmp(&self, other: &Importance) -> Ordering
fn cmp(&self, other: &Importance) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Importance
impl PartialEq for Importance
Source§impl PartialOrd for Importance
impl PartialOrd for Importance
Source§impl Serialize for Importance
impl Serialize for Importance
impl Eq for Importance
impl StructuralPartialEq for Importance
Auto Trait Implementations§
impl Freeze for Importance
impl RefUnwindSafe for Importance
impl Send for Importance
impl Sync for Importance
impl Unpin for Importance
impl UnwindSafe for Importance
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.