Enum elf64::ProgramData

source ·
pub enum ProgramData<'a> {
    Null,
    Load {
        data: &'a [u8],
        address: Address,
    },
    Interpreter(&'a [u8]),
    Note(NoteTable<'a>),
    OsSpecific {
        code: u32,
        data: &'a [u8],
        address: Address,
    },
    ProcessorSprcific {
        code: u32,
        data: &'a [u8],
        address: Address,
    },
    Unknown {
        code: u32,
        data: &'a [u8],
        address: Address,
    },
}

Variants

Null

Load

Fields

data: &'a [u8]
address: Address

Interpreter(&'a [u8])

Note(NoteTable<'a>)

OsSpecific

Fields

code: u32
data: &'a [u8]
address: Address

ProcessorSprcific

Fields

code: u32
data: &'a [u8]
address: Address

Unknown

Fields

code: u32
data: &'a [u8]
address: Address

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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 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.