pub enum ProfileArg {
Quick,
Full,
Ci,
}Expand description
How much bench measures.
Variants§
Quick
Fast developer feedback: few samples.
Full
Stable evidence: many samples, many cold spawns.
Ci
Conservative: structural gates plus a modest measurement.
Implementations§
Trait Implementations§
Source§impl Clone for ProfileArg
impl Clone for ProfileArg
Source§fn clone(&self) -> ProfileArg
fn clone(&self) -> ProfileArg
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 ProfileArg
Source§impl Debug for ProfileArg
impl Debug for ProfileArg
Source§impl Default for ProfileArg
impl Default for ProfileArg
Source§fn default() -> ProfileArg
fn default() -> ProfileArg
Returns the “default value” for a type. Read more
impl Eq for ProfileArg
Source§impl PartialEq for ProfileArg
impl PartialEq for ProfileArg
Source§fn eq(&self, other: &ProfileArg) -> bool
fn eq(&self, other: &ProfileArg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProfileArg
Source§impl ValueEnum for ProfileArg
impl ValueEnum for ProfileArg
Auto Trait Implementations§
impl Freeze for ProfileArg
impl RefUnwindSafe for ProfileArg
impl Send for ProfileArg
impl Sync for ProfileArg
impl Unpin for ProfileArg
impl UnsafeUnpin for ProfileArg
impl UnwindSafe for ProfileArg
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
Compare self to
key and return true if they are equal.