[−][src]Struct linux::kty::perf_event_mmap_page
Fields
version: __u32
compat_version: __u32
lock: __u32
index: __u32
offset: __s64
time_enabled: __u64
time_running: __u64
pmc_width: __u16
time_shift: __u16
time_mult: __u32
time_offset: __u64
time_zero: __u64
size: __u32
__reserved: [__u8; 948]
data_head: __u64
data_tail: __u64
Methods
impl perf_event_mmap_page
[src]
pub fn capabilities(&self) -> __u64
[src]
pub fn set_capabilities(&mut self, val: __u64)
[src]
pub fn cap_bit0(&self) -> bool
[src]
pub fn cap_bit0_is_deprecated(&self) -> bool
[src]
pub fn cap_user_rdpmc(&self) -> bool
[src]
pub fn cap_user_time(&self) -> bool
[src]
pub fn cap_user_time_zero(&self) -> bool
[src]
pub fn set_cap_bit0(&mut self, val: bool)
[src]
pub fn set_cap_bit0_is_deprecated(&mut self, val: bool)
[src]
pub fn set_cap_user_rdpmc(&mut self, val: bool)
[src]
pub fn set_cap_user_time(&mut self, val: bool)
[src]
pub fn set_cap_user_time_zero(&mut self, val: bool)
[src]
Trait Implementations
impl Pod for perf_event_mmap_page
[src]
fn _assert_pod()
[src]
impl Copy for perf_event_mmap_page
[src]
impl Clone for perf_event_mmap_page
[src]
Auto Trait Implementations
impl Send for perf_event_mmap_page
impl Sync for perf_event_mmap_page
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,