#[repr(C)]pub struct bpf_perf_event_value {
pub counter: __u64,
pub enabled: __u64,
pub running: __u64,
}Fields§
§counter: __u64§enabled: __u64§running: __u64Trait Implementations§
Source§impl Clone for bpf_perf_event_value
impl Clone for bpf_perf_event_value
Source§fn clone(&self) -> bpf_perf_event_value
fn clone(&self) -> bpf_perf_event_value
Returns a duplicate 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 bpf_perf_event_value
impl Debug for bpf_perf_event_value
Source§impl Default for bpf_perf_event_value
impl Default for bpf_perf_event_value
Source§fn default() -> bpf_perf_event_value
fn default() -> bpf_perf_event_value
Returns the “default value” for a type. Read more
Source§impl Hash for bpf_perf_event_value
impl Hash for bpf_perf_event_value
Source§impl Ord for bpf_perf_event_value
impl Ord for bpf_perf_event_value
Source§fn cmp(&self, other: &bpf_perf_event_value) -> Ordering
fn cmp(&self, other: &bpf_perf_event_value) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for bpf_perf_event_value
impl PartialEq for bpf_perf_event_value
Source§impl PartialOrd for bpf_perf_event_value
impl PartialOrd for bpf_perf_event_value
impl Copy for bpf_perf_event_value
impl Eq for bpf_perf_event_value
impl StructuralPartialEq for bpf_perf_event_value
Auto Trait Implementations§
impl Freeze for bpf_perf_event_value
impl RefUnwindSafe for bpf_perf_event_value
impl Send for bpf_perf_event_value
impl Sync for bpf_perf_event_value
impl Unpin for bpf_perf_event_value
impl UnwindSafe for bpf_perf_event_value
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