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 ) For aarch64, LimitedlyEnabled isn’t supported currently. The ability will be implemented in the future.
FullyEnabled
FullyEnabled means all vpmu counters are supported
Trait Implementations§
Source§impl Clone for VpmuFeatureLevel
impl Clone for VpmuFeatureLevel
Source§fn clone(&self) -> VpmuFeatureLevel
fn clone(&self) -> VpmuFeatureLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VpmuFeatureLevel
impl Debug for VpmuFeatureLevel
Source§impl PartialEq for VpmuFeatureLevel
impl PartialEq for VpmuFeatureLevel
impl Copy for VpmuFeatureLevel
impl Eq for VpmuFeatureLevel
impl StructuralPartialEq for VpmuFeatureLevel
Auto Trait Implementations§
impl Freeze for VpmuFeatureLevel
impl RefUnwindSafe for VpmuFeatureLevel
impl Send for VpmuFeatureLevel
impl Sync for VpmuFeatureLevel
impl Unpin for VpmuFeatureLevel
impl UnwindSafe for VpmuFeatureLevel
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