pub struct RejectedFaster {
pub id: String,
pub config: String,
pub summary: Summary,
pub speedup_vs_chosen: f64,
pub rules: Vec<RuleRef>,
}Expand description
A refused configuration that measurably beat the chosen one.
This is the section the whole tool exists to produce: it is the cost of
the safety decision, stated in numbers rather than asserted. Populated
only when refused candidates were measured under --allow-unsafe, and
only when the candidate’s whole confidence interval sits below the
chosen one’s — “faster” here means measurably, not on a point estimate.
Fields§
§id: StringIts canonical config.v1 ID.
config: StringIts dimension assignments.
summary: SummaryIts timing summary.
speedup_vs_chosen: f64chosen_median / this_median: how much faster the refused one was.
rules: Vec<RuleRef>The rules that refused it — what the speed cost buys.
Trait Implementations§
Source§impl Clone for RejectedFaster
impl Clone for RejectedFaster
Source§fn clone(&self) -> RejectedFaster
fn clone(&self) -> RejectedFaster
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 RejectedFaster
impl Debug for RejectedFaster
Source§impl<'de> Deserialize<'de> for RejectedFaster
impl<'de> Deserialize<'de> for RejectedFaster
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
Auto Trait Implementations§
impl Freeze for RejectedFaster
impl RefUnwindSafe for RejectedFaster
impl Send for RejectedFaster
impl Sync for RejectedFaster
impl Unpin for RejectedFaster
impl UnsafeUnpin for RejectedFaster
impl UnwindSafe for RejectedFaster
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