pub struct CalmCheckReport {
pub host_brand: String,
pub fingerprint: Option<String>,
pub pass_a: String,
pub pass_b: String,
pub median_a_ns: f64,
pub median_b_ns: f64,
pub relative_drift: f64,
pub calm: bool,
pub recommendation: String,
}Expand description
Calm-check report.
Fields§
§host_brand: StringHost brand.
fingerprint: Option<String>Fingerprint.
pass_a: StringFirst campaign stability.
pass_b: StringSecond campaign stability.
median_a_ns: f64Median ns pass A (constant work).
median_b_ns: f64Median ns pass B.
relative_drift: f64Relative drift |A-B|/max(A,B).
calm: boolWhether the host looks calm enough for specialization.
recommendation: StringRecommendation.
Trait Implementations§
Source§impl Clone for CalmCheckReport
impl Clone for CalmCheckReport
Source§fn clone(&self) -> CalmCheckReport
fn clone(&self) -> CalmCheckReport
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 CalmCheckReport
impl Debug for CalmCheckReport
Source§impl<'de> Deserialize<'de> for CalmCheckReport
impl<'de> Deserialize<'de> for CalmCheckReport
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 CalmCheckReport
impl RefUnwindSafe for CalmCheckReport
impl Send for CalmCheckReport
impl Sync for CalmCheckReport
impl Unpin for CalmCheckReport
impl UnsafeUnpin for CalmCheckReport
impl UnwindSafe for CalmCheckReport
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more