pub enum TrialOutcome {
Completed(Measurement),
Failed {
reason: String,
},
}Expand description
How a trial ended.
Variants§
Completed(Measurement)
The workload finished and reported a result.
Failed
The workload or the harness failed; nothing is measured.
Trait Implementations§
Source§impl Clone for TrialOutcome
impl Clone for TrialOutcome
Source§fn clone(&self) -> TrialOutcome
fn clone(&self) -> TrialOutcome
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 moreSource§impl Debug for TrialOutcome
impl Debug for TrialOutcome
Source§impl<'de> Deserialize<'de> for TrialOutcome
impl<'de> Deserialize<'de> for TrialOutcome
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 TrialOutcome
impl PartialEq for TrialOutcome
Source§impl Serialize for TrialOutcome
impl Serialize for TrialOutcome
impl StructuralPartialEq for TrialOutcome
Auto Trait Implementations§
impl Freeze for TrialOutcome
impl RefUnwindSafe for TrialOutcome
impl Send for TrialOutcome
impl Sync for TrialOutcome
impl Unpin for TrialOutcome
impl UnsafeUnpin for TrialOutcome
impl UnwindSafe for TrialOutcome
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