pub struct Cmd {
pub cmd_seq: u64,
pub bench_hashd_seq: u64,
pub bench_hashd_balloon_size: usize,
pub bench_hashd_args: Vec<String>,
pub bench_iocost_seq: u64,
pub sideloader: SideloaderCmd,
pub hashd: [HashdCmd; 2],
pub sysloads: BTreeMap<String, String>,
pub sideloads: BTreeMap<String, String>,
pub swappiness: Option<u32>,
pub zswap_enabled: Option<bool>,
pub balloon_ratio: f64,
}
Fields§
§cmd_seq: u64
§bench_hashd_seq: u64
§bench_hashd_balloon_size: usize
§bench_hashd_args: Vec<String>
§bench_iocost_seq: u64
§sideloader: SideloaderCmd
§hashd: [HashdCmd; 2]
§sysloads: BTreeMap<String, String>
§sideloads: BTreeMap<String, String>
§swappiness: Option<u32>
§zswap_enabled: Option<bool>
§balloon_ratio: f64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cmd
impl<'de> Deserialize<'de> for Cmd
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 Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
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