pub enum PerfTypeId {
Hardware,
Software,
Tracepoint,
HwCache,
Raw,
Breakpoint,
}Expand description
Valeurs courantes du champ perf_event_attr.type (PERF_TYPE_*).
Variants§
Hardware
PERF_TYPE_HARDWARE.
Software
PERF_TYPE_SOFTWARE.
Tracepoint
PERF_TYPE_TRACEPOINT.
HwCache
PERF_TYPE_HW_CACHE.
Raw
PERF_TYPE_RAW.
Breakpoint
PERF_TYPE_BREAKPOINT.
Implementations§
Trait Implementations§
Source§impl Clone for PerfTypeId
impl Clone for PerfTypeId
Source§fn clone(&self) -> PerfTypeId
fn clone(&self) -> PerfTypeId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerfTypeId
Source§impl Debug for PerfTypeId
impl Debug for PerfTypeId
impl Eq for PerfTypeId
Source§impl PartialEq for PerfTypeId
impl PartialEq for PerfTypeId
impl StructuralPartialEq for PerfTypeId
Auto Trait Implementations§
impl Freeze for PerfTypeId
impl RefUnwindSafe for PerfTypeId
impl Send for PerfTypeId
impl Sync for PerfTypeId
impl Unpin for PerfTypeId
impl UnsafeUnpin for PerfTypeId
impl UnwindSafe for PerfTypeId
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