Enum dbs_arch::cpuid::VpmuFeatureLevel
source · pub enum VpmuFeatureLevel {
Disabled,
LimitedlyEnabled,
FullyEnabled,
}Expand description
Enum indicating vpmu feature level
Variants
Disabled
Disabled means vpmu feature is off (by default)
LimitedlyEnabled
LimitedlyEnabled means minimal vpmu counters are supported( only cycles and instructions )
FullyEnabled
FullyEnabled means all vpmu counters are supported
Trait Implementations
sourceimpl Clone for VpmuFeatureLevel
impl Clone for VpmuFeatureLevel
sourcefn clone(&self) -> VpmuFeatureLevel
fn clone(&self) -> VpmuFeatureLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VpmuFeatureLevel
impl Debug for VpmuFeatureLevel
sourceimpl PartialEq<VpmuFeatureLevel> for VpmuFeatureLevel
impl PartialEq<VpmuFeatureLevel> for VpmuFeatureLevel
sourcefn eq(&self, other: &VpmuFeatureLevel) -> bool
fn eq(&self, other: &VpmuFeatureLevel) -> bool
impl Copy for VpmuFeatureLevel
impl Eq for VpmuFeatureLevel
impl StructuralEq for VpmuFeatureLevel
impl StructuralPartialEq for VpmuFeatureLevel
Auto Trait Implementations
impl RefUnwindSafe for VpmuFeatureLevel
impl Send for VpmuFeatureLevel
impl Sync for VpmuFeatureLevel
impl Unpin for VpmuFeatureLevel
impl UnwindSafe for VpmuFeatureLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more