Enum jit::ReadElfErrorCode [] [src]

pub enum ReadElfErrorCode {
    CannotOpen,
    NotElf,
    WrongArch,
    BadFormat,
    Memory,
}

An error from trying to open the ELF

Variants

CannotOpen

The file couldn't be opened

NotElf

The file isn't an ELF

WrongArch

The ELF is for a different architecture

BadFormat

The ELF is badly formatted

Memory

The ELF is too big to be loaded

Trait Implementations

impl Debug for ReadElfErrorCode

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Display for ReadElfErrorCode

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Error for ReadElfErrorCode

fn description(&self) -> &'static str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Copy for ReadElfErrorCode

impl Clone for ReadElfErrorCode

fn clone(&self) -> ReadElfErrorCode

fn clone_from(&mut self, source: &Self)