pub struct HashdCmd {
pub active: bool,
pub lat_target_pct: f64,
pub lat_target: f64,
pub rps_target_ratio: f64,
pub mem_ratio: Option<f64>,
pub file_addr_stdev: Option<f64>,
pub anon_addr_stdev: Option<f64>,
pub file_ratio: f64,
pub file_max_ratio: f64,
pub log_bps: u64,
pub weight: f64,
}
Fields§
§active: bool
§lat_target_pct: f64
§lat_target: f64
§rps_target_ratio: f64
§mem_ratio: Option<f64>
§file_addr_stdev: Option<f64>
§anon_addr_stdev: Option<f64>
§file_ratio: f64
§file_max_ratio: f64
§log_bps: u64
§weight: f64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HashdCmd
impl<'de> Deserialize<'de> for HashdCmd
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
impl StructuralPartialEq for HashdCmd
Auto Trait Implementations§
impl Freeze for HashdCmd
impl RefUnwindSafe for HashdCmd
impl Send for HashdCmd
impl Sync for HashdCmd
impl Unpin for HashdCmd
impl UnwindSafe for HashdCmd
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