Enum raw_cpuid::TopologyType
source · pub enum TopologyType {
Invalid = 0,
SMT = 1,
Core = 2,
Module = 3,
Tile = 4,
Die = 5,
}
Expand description
What type of core we have at this level in the topology (real CPU or hyper-threaded).
Variants§
Invalid = 0
SMT = 1
Hyper-thread (Simultaneous multithreading)
Core = 2
Module = 3
Tile = 4
Die = 5
Trait Implementations§
source§impl Debug for TopologyType
impl Debug for TopologyType
source§impl Display for TopologyType
impl Display for TopologyType
source§impl PartialEq for TopologyType
impl PartialEq for TopologyType
source§fn eq(&self, other: &TopologyType) -> bool
fn eq(&self, other: &TopologyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TopologyType
impl StructuralEq for TopologyType
impl StructuralPartialEq for TopologyType
Auto Trait Implementations§
impl RefUnwindSafe for TopologyType
impl Send for TopologyType
impl Sync for TopologyType
impl Unpin for TopologyType
impl UnwindSafe for TopologyType
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