pub struct Package {
pub name: String,
pub processor_start: u32,
pub processor_count: u32,
pub core_start: u32,
pub core_count: u32,
pub cluster_start: u32,
pub cluster_count: u32,
}
Fields§
§name: String
SoC or processor chip model name
processor_start: u32
Index of the first logical processor on this physical package
processor_count: u32
Number of logical processors on this physical package
core_start: u32
Index of the first core on this physical package
core_count: u32
Number of cores on this physical package
cluster_start: u32
Index of the first cluster of cores on this physical package
cluster_count: u32
Number of clusters of cores on this physical package
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
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 Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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