Enum unicorn::unicorn_const::Error [] [src]

pub enum Error {
    OK,
    NOMEM,
    ARCH,
    HANDLE,
    MODE,
    VERSION,
    READ_UNMAPPED,
    WRITE_UNMAPPED,
    ETCH_UNMAPPED,
    HOOK,
    INSN_INVALID,
    MAP,
    WRITE_PROT,
    READ_PROT,
    FETCH_PROT,
    ARG,
    READ_UNALIGNED,
    WRITE_UNALIGNED,
    FETCH_UNALIGNED,
    HOOK_EXIST,
}

Variants

OKNOMEMARCHHANDLEMODEVERSIONREAD_UNMAPPEDWRITE_UNMAPPEDETCH_UNMAPPEDHOOKINSN_INVALIDMAPWRITE_PROTREAD_PROTFETCH_PROTARGREAD_UNALIGNEDWRITE_UNALIGNEDFETCH_UNALIGNEDHOOK_EXIST

Methods

impl Error
[src]

fn msg(&self) -> String

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

fn clone(&self) -> Error

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl PartialEq for Error
[src]

fn eq(&self, __arg_0: &Error) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.