pub enum SamplePhase {
Warmup,
Measured,
}Expand description
Classification of a sample for deterministic warmup exclusion.
§Examples
use ailloli_ui_bench::SamplePhase;
assert_eq!(SamplePhase::default(), SamplePhase::Measured);Variants§
Warmup
Sample used only to warm caches and pipelines.
Measured
Sample included in regression statistics.
Trait Implementations§
Source§impl Clone for SamplePhase
impl Clone for SamplePhase
Source§fn clone(&self) -> SamplePhase
fn clone(&self) -> SamplePhase
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 SamplePhase
impl Debug for SamplePhase
Source§impl Default for SamplePhase
impl Default for SamplePhase
Source§fn default() -> SamplePhase
fn default() -> SamplePhase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SamplePhase
impl<'de> Deserialize<'de> for SamplePhase
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 PartialEq for SamplePhase
impl PartialEq for SamplePhase
Source§impl Serialize for SamplePhase
impl Serialize for SamplePhase
impl Copy for SamplePhase
impl Eq for SamplePhase
impl StructuralPartialEq for SamplePhase
Auto Trait Implementations§
impl Freeze for SamplePhase
impl RefUnwindSafe for SamplePhase
impl Send for SamplePhase
impl Sync for SamplePhase
impl Unpin for SamplePhase
impl UnwindSafe for SamplePhase
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