#[non_exhaustive]pub struct AutotuningConfig {
pub scenarios: Vec<Scenario>,
/* private fields */
}Expand description
Autotuning configuration of the workload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scenarios: Vec<Scenario>Optional. Scenarios for which tunings are applied.
Implementations§
Source§impl AutotuningConfig
impl AutotuningConfig
pub fn new() -> Self
Sourcepub fn set_scenarios<T, V>(self, v: T) -> Self
pub fn set_scenarios<T, V>(self, v: T) -> Self
Sets the value of scenarios.
Trait Implementations§
Source§impl Clone for AutotuningConfig
impl Clone for AutotuningConfig
Source§fn clone(&self) -> AutotuningConfig
fn clone(&self) -> AutotuningConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AutotuningConfig
impl Debug for AutotuningConfig
Source§impl Default for AutotuningConfig
impl Default for AutotuningConfig
Source§fn default() -> AutotuningConfig
fn default() -> AutotuningConfig
Returns the “default value” for a type. Read more
Source§impl Message for AutotuningConfig
impl Message for AutotuningConfig
Source§impl PartialEq for AutotuningConfig
impl PartialEq for AutotuningConfig
impl StructuralPartialEq for AutotuningConfig
Auto Trait Implementations§
impl Freeze for AutotuningConfig
impl RefUnwindSafe for AutotuningConfig
impl Send for AutotuningConfig
impl Sync for AutotuningConfig
impl Unpin for AutotuningConfig
impl UnwindSafe for AutotuningConfig
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