pub struct Claim {
pub item: String,
pub backend: String,
pub metric: String,
pub op: Op,
pub bound: f64,
}Expand description
One parsed soothfast:claim expression: a measured metric of an item,
compared against a fixed bound.
Fields§
§item: StringFully qualified item path (demo::lcg_checksum).
backend: StringMetric backend the value comes from (perfcnt, walltime, alloc).
metric: StringMetric name within the backend (instructions, p99, allocs).
op: OpHow the measured value is compared to bound.
bound: f64Claimed limit, in the metric’s raw unit (durations normalized to ns).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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