Struct linux_perf_data::RawUserRecord
source · pub struct RawUserRecord<'a> {
pub record_type: UserRecordType,
pub endian: Endianness,
pub misc: u16,
pub data: RawData<'a>,
}Expand description
A raw user record.
Can be turned into a parsed UserRecord using RawUserRecord::parse.
Fields§
§record_type: UserRecordType§endian: Endianness§misc: u16§data: RawData<'a>Implementations§
source§impl<'a> RawUserRecord<'a>
impl<'a> RawUserRecord<'a>
pub fn parse(&self) -> Result<UserRecord<'a>, Error>
pub fn parse_impl<T: ByteOrder>(&self) -> Result<UserRecord<'a>, Error>
Trait Implementations§
source§impl<'a> Clone for RawUserRecord<'a>
impl<'a> Clone for RawUserRecord<'a>
source§fn clone(&self) -> RawUserRecord<'a>
fn clone(&self) -> RawUserRecord<'a>
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 more