pub struct JitDumpRawRecord<'a> {
pub endian: Endianness,
pub record_type: JitDumpRecordType,
pub timestamp: u64,
pub start_offset: u64,
pub record_size: u32,
pub body: RawData<'a>,
}
Expand description
A raw jitdump record whose body hasn’t been parsed yet.
Fields§
§endian: Endianness
The file endian (needs to be known during parsing).
record_type: JitDumpRecordType
The record type.
timestamp: u64
The timestamp.
start_offset: u64
The offset in the jitdump file at which this record is stored. This points to the start of the record header.
record_size: u32
The size of this record in bytes, including the record header.
body: RawData<'a>
The raw data for the body of this record.
Implementations§
Source§impl JitDumpRawRecord<'_>
impl JitDumpRawRecord<'_>
pub fn parse(&self) -> Result<JitDumpRecord<'_>, Error>
Trait Implementations§
Source§impl<'a> Clone for JitDumpRawRecord<'a>
impl<'a> Clone for JitDumpRawRecord<'a>
Source§fn clone(&self) -> JitDumpRawRecord<'a>
fn clone(&self) -> JitDumpRawRecord<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for JitDumpRawRecord<'a>
impl<'a> RefUnwindSafe for JitDumpRawRecord<'a>
impl<'a> Send for JitDumpRawRecord<'a>
impl<'a> Sync for JitDumpRawRecord<'a>
impl<'a> Unpin for JitDumpRawRecord<'a>
impl<'a> UnwindSafe for JitDumpRawRecord<'a>
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