pub struct EvalArm {
pub name: String,
pub compiled: bool,
pub cached: bool,
pub downshift: bool,
pub replay: bool,
}Expand description
One eval arm configuration.
Fields§
§name: StringStable report name.
compiled: boolWhether this arm runs a compiled artifact instead of raw prose.
cached: boolWhether this arm uses a golden artifact cache hit.
downshift: boolWhether this arm uses the downshifted execution playback.
replay: boolWhether this arm is served entirely by identical-request replay.
Implementations§
Source§impl EvalArm
impl EvalArm
Sourcepub fn compiled_uncached(name: impl Into<String>) -> Self
pub fn compiled_uncached(name: impl Into<String>) -> Self
Compiled arm that pays the lift/compiler cost for every case.
Sourcepub fn compiled_cached(name: impl Into<String>) -> Self
pub fn compiled_cached(name: impl Into<String>) -> Self
Compiled arm that hits a golden artifact and pays no compiler cost.
Sourcepub fn compiled_cached_downshifted(name: impl Into<String>) -> Self
pub fn compiled_cached_downshifted(name: impl Into<String>) -> Self
Compiled cached arm that executes on the downshifted playback.
Sourcepub fn identical_request_replay(name: impl Into<String>) -> Self
pub fn identical_request_replay(name: impl Into<String>) -> Self
Identical-request replay arm.
Trait Implementations§
impl Eq for EvalArm
impl StructuralPartialEq for EvalArm
Auto Trait Implementations§
impl Freeze for EvalArm
impl RefUnwindSafe for EvalArm
impl Send for EvalArm
impl Sync for EvalArm
impl Unpin for EvalArm
impl UnsafeUnpin for EvalArm
impl UnwindSafe for EvalArm
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> 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.