Struct linux_perf_event_reader::records::RecordParseInfo
source · [−]pub struct RecordParseInfo {
pub endian: Endianness,
pub sample_format: SampleFormat,
pub branch_sample_format: BranchSampleFormat,
pub read_format: ReadFormat,
pub common_data_offset_from_end: Option<u8>,
pub sample_regs_user: u64,
pub regs_count: u8,
pub nonsample_record_time_offset_from_end: Option<u8>,
pub nonsample_record_id_offset_from_end: Option<u8>,
pub sample_record_time_offset_from_start: Option<u8>,
pub sample_record_id_offset_from_start: Option<u8>,
}
Fields
endian: Endianness
sample_format: SampleFormat
branch_sample_format: BranchSampleFormat
read_format: ReadFormat
common_data_offset_from_end: Option<u8>
sample_regs_user: u64
regs_count: u8
nonsample_record_time_offset_from_end: Option<u8>
nonsample_record_id_offset_from_end: Option<u8>
sample_record_time_offset_from_start: Option<u8>
sample_record_id_offset_from_start: Option<u8>
Implementations
sourceimpl RecordParseInfo
impl RecordParseInfo
pub fn new(attr: &PerfEventAttr, endian: Endianness) -> Self
Trait Implementations
sourceimpl Clone for RecordParseInfo
impl Clone for RecordParseInfo
sourcefn clone(&self) -> RecordParseInfo
fn clone(&self) -> RecordParseInfo
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 Debug for RecordParseInfo
impl Debug for RecordParseInfo
sourceimpl PartialEq<RecordParseInfo> for RecordParseInfo
impl PartialEq<RecordParseInfo> for RecordParseInfo
sourcefn eq(&self, other: &RecordParseInfo) -> bool
fn eq(&self, other: &RecordParseInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RecordParseInfo) -> bool
fn ne(&self, other: &RecordParseInfo) -> bool
This method tests for !=
.
impl Copy for RecordParseInfo
impl Eq for RecordParseInfo
impl StructuralEq for RecordParseInfo
impl StructuralPartialEq for RecordParseInfo
Auto Trait Implementations
impl RefUnwindSafe for RecordParseInfo
impl Send for RecordParseInfo
impl Sync for RecordParseInfo
impl Unpin for RecordParseInfo
impl UnwindSafe for RecordParseInfo
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