#[non_exhaustive]pub struct PerformanceConfig {
pub dump_parallel_level: DumpParallelLevel,
/* private fields */
}Expand description
Performance configuration definition.
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.dump_parallel_level: DumpParallelLevelInitial dump parallelism level.
Implementations§
Source§impl PerformanceConfig
impl PerformanceConfig
pub fn new() -> Self
Sourcepub fn set_dump_parallel_level<T: Into<DumpParallelLevel>>(self, v: T) -> Self
pub fn set_dump_parallel_level<T: Into<DumpParallelLevel>>(self, v: T) -> Self
Sets the value of dump_parallel_level.
Trait Implementations§
Source§impl Clone for PerformanceConfig
impl Clone for PerformanceConfig
Source§fn clone(&self) -> PerformanceConfig
fn clone(&self) -> PerformanceConfig
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 PerformanceConfig
impl Debug for PerformanceConfig
Source§impl Default for PerformanceConfig
impl Default for PerformanceConfig
Source§fn default() -> PerformanceConfig
fn default() -> PerformanceConfig
Returns the “default value” for a type. Read more
Source§impl Message for PerformanceConfig
impl Message for PerformanceConfig
Source§impl PartialEq for PerformanceConfig
impl PartialEq for PerformanceConfig
impl StructuralPartialEq for PerformanceConfig
Auto Trait Implementations§
impl Freeze for PerformanceConfig
impl RefUnwindSafe for PerformanceConfig
impl Send for PerformanceConfig
impl Sync for PerformanceConfig
impl Unpin for PerformanceConfig
impl UnwindSafe for PerformanceConfig
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