pub struct SMPConfiguration {
pub books: Option<i64>,
pub clusters: Option<i64>,
pub cores: Option<i64>,
pub cpus: Option<i64>,
pub dies: Option<i64>,
pub drawers: Option<i64>,
pub maxcpus: Option<i64>,
pub modules: Option<i64>,
pub sockets: Option<i64>,
pub threads: Option<i64>,
}
Fields§
§books: Option<i64>
§clusters: Option<i64>
§cores: Option<i64>
§cpus: Option<i64>
§dies: Option<i64>
§drawers: Option<i64>
§maxcpus: Option<i64>
§modules: Option<i64>
§sockets: Option<i64>
§threads: Option<i64>
Trait Implementations§
Source§impl Clone for SMPConfiguration
impl Clone for SMPConfiguration
Source§fn clone(&self) -> SMPConfiguration
fn clone(&self) -> SMPConfiguration
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 SMPConfiguration
impl Debug for SMPConfiguration
Source§impl Default for SMPConfiguration
impl Default for SMPConfiguration
Source§fn default() -> SMPConfiguration
fn default() -> SMPConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SMPConfiguration
impl<'de> Deserialize<'de> for SMPConfiguration
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
Auto Trait Implementations§
impl Freeze for SMPConfiguration
impl RefUnwindSafe for SMPConfiguration
impl Send for SMPConfiguration
impl Sync for SMPConfiguration
impl Unpin for SMPConfiguration
impl UnwindSafe for SMPConfiguration
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