pub struct CpuOptions {
pub core_count: Option<i64>,
pub threads_per_core: Option<i64>,
}Expand description
The CPU options for the instance.
Fields§
§core_count: Option<i64>The number of CPU cores for the instance.
threads_per_core: Option<i64>The number of threads per CPU core.
Trait Implementations§
Source§impl Clone for CpuOptions
impl Clone for CpuOptions
Source§fn clone(&self) -> CpuOptions
fn clone(&self) -> CpuOptions
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 CpuOptions
impl Debug for CpuOptions
Source§impl Default for CpuOptions
impl Default for CpuOptions
Source§fn default() -> CpuOptions
fn default() -> CpuOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for CpuOptions
impl PartialEq for CpuOptions
impl StructuralPartialEq for CpuOptions
Auto Trait Implementations§
impl Freeze for CpuOptions
impl RefUnwindSafe for CpuOptions
impl Send for CpuOptions
impl Sync for CpuOptions
impl Unpin for CpuOptions
impl UnwindSafe for CpuOptions
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