Struct linux_perf_event_reader::records::Mmap2Record
source · [−]pub struct Mmap2Record<'a> {
pub pid: i32,
pub tid: i32,
pub address: u64,
pub length: u64,
pub page_offset: u64,
pub file_id: Mmap2FileId,
pub protection: u32,
pub flags: u32,
pub cpu_mode: CpuMode,
pub path: RawData<'a>,
}
Fields
pid: i32
tid: i32
address: u64
length: u64
page_offset: u64
file_id: Mmap2FileId
protection: u32
flags: u32
cpu_mode: CpuMode
path: RawData<'a>
Implementations
Trait Implementations
sourceimpl<'a> Clone for Mmap2Record<'a>
impl<'a> Clone for Mmap2Record<'a>
sourcefn clone(&self) -> Mmap2Record<'a>
fn clone(&self) -> Mmap2Record<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for Mmap2Record<'a>
impl<'a> Debug for Mmap2Record<'a>
sourceimpl<'a> PartialEq<Mmap2Record<'a>> for Mmap2Record<'a>
impl<'a> PartialEq<Mmap2Record<'a>> for Mmap2Record<'a>
sourcefn eq(&self, other: &Mmap2Record<'a>) -> bool
fn eq(&self, other: &Mmap2Record<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Mmap2Record<'a>) -> bool
fn ne(&self, other: &Mmap2Record<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for Mmap2Record<'a>
impl<'a> StructuralEq for Mmap2Record<'a>
impl<'a> StructuralPartialEq for Mmap2Record<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Mmap2Record<'a>
impl<'a> Send for Mmap2Record<'a>
impl<'a> Sync for Mmap2Record<'a>
impl<'a> Unpin for Mmap2Record<'a>
impl<'a> UnwindSafe for Mmap2Record<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more