#[repr(C)]
pub struct CodeLoadRecord { pub header: RecordHeader, pub pid: u32, pub tid: u32, pub virtual_address: u64, pub address: u64, pub size: u64, pub index: u64, }
Expand description

The CodeLoadRecord is used for describing jitted functions

Fields

header: RecordHeader

Fixed sized header that describes this record

pid: u32

uint32_t pid: OS process id of the runtime generating the jitted code

tid: u32

uint32_t tid: OS thread identification of the runtime thread generating the jitted code

virtual_address: u64

uint64_t vma: virtual address of jitted code start

address: u64

uint64_t code_addr: code start address for the jitted code. By default vma = code_addr

size: u64

uint64_t code_size: size in bytes of the generated jitted code

index: u64

uint64_t code_index: unique identifier for the jitted code (see below)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.