Enum pfm_sys::perf_event_read_format
source · #[repr(u32)]pub enum perf_event_read_format {
PERF_FORMAT_TOTAL_TIME_ENABLED = 1,
PERF_FORMAT_TOTAL_TIME_RUNNING = 2,
PERF_FORMAT_ID = 4,
PERF_FORMAT_GROUP = 8,
PERF_FORMAT_MAX = 16,
}
Variants§
PERF_FORMAT_TOTAL_TIME_ENABLED = 1
PERF_FORMAT_TOTAL_TIME_RUNNING = 2
PERF_FORMAT_ID = 4
PERF_FORMAT_GROUP = 8
PERF_FORMAT_MAX = 16
Trait Implementations§
source§impl Clone for perf_event_read_format
impl Clone for perf_event_read_format
source§fn clone(&self) -> perf_event_read_format
fn clone(&self) -> perf_event_read_format
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for perf_event_read_format
impl Debug for perf_event_read_format
source§impl Hash for perf_event_read_format
impl Hash for perf_event_read_format
source§impl PartialEq for perf_event_read_format
impl PartialEq for perf_event_read_format
source§fn eq(&self, other: &perf_event_read_format) -> bool
fn eq(&self, other: &perf_event_read_format) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for perf_event_read_format
impl Eq for perf_event_read_format
impl StructuralEq for perf_event_read_format
impl StructuralPartialEq for perf_event_read_format
Auto Trait Implementations§
impl RefUnwindSafe for perf_event_read_format
impl Send for perf_event_read_format
impl Sync for perf_event_read_format
impl Unpin for perf_event_read_format
impl UnwindSafe for perf_event_read_format
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