Enum raw_cpuid::TopologyType
source · [−]pub enum TopologyType {
Invalid,
SMT,
Core,
}
Expand description
What type of core we have at this level in the topology (real CPU or hyper-threaded).
Variants
Invalid
SMT
Hyper-thread (Simultaneous multithreading)
Core
Trait Implementations
sourceimpl Debug for TopologyType
impl Debug for TopologyType
sourceimpl Default for TopologyType
impl Default for TopologyType
sourcefn default() -> TopologyType
fn default() -> TopologyType
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TopologyType> for TopologyType
impl PartialEq<TopologyType> for TopologyType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more