pub struct OptimizationThreads {
pub auto_: bool,
pub value: u64,
}Expand description
max_optimization_threads value with auto support.
Fields§
§auto_: boolauto — let the server choose the thread count.
value: u64Explicit thread count used when auto_ is false.
Trait Implementations§
Source§impl Clone for OptimizationThreads
impl Clone for OptimizationThreads
Source§fn clone(&self) -> OptimizationThreads
fn clone(&self) -> OptimizationThreads
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 moreimpl Copy for OptimizationThreads
Source§impl Debug for OptimizationThreads
impl Debug for OptimizationThreads
Source§impl PartialEq for OptimizationThreads
impl PartialEq for OptimizationThreads
impl StructuralPartialEq for OptimizationThreads
Auto Trait Implementations§
impl Freeze for OptimizationThreads
impl RefUnwindSafe for OptimizationThreads
impl Send for OptimizationThreads
impl Sync for OptimizationThreads
impl Unpin for OptimizationThreads
impl UnsafeUnpin for OptimizationThreads
impl UnwindSafe for OptimizationThreads
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