Enum capstone::Error[][src]

pub enum Error {
    OutOfMemory,
    UnsupportedArch,
    InvalidHandle,
    InvalidCsh,
    InvalidMode,
    InvalidOption,
    DetailOff,
    UninitializedMemSetup,
    UnsupportedVersion,
    IrrelevantDataInDiet,
    IrrelevantDataInSkipData,
    UnsupportedX86Att,
    UnsupportedX86Intel,
    UnknownCapstoneError,
    CustomError(&'static str),
}

An error enum for this library

Variants

Out-Of-Memory error: cs_open(), cs_disasm(), cs_disasm_iter()

Unsupported Architecture: cs_open()

Invalid Handle: cs_op_count(), cs_op_index()

Invalid InvalidCsh argument: cs_close(), cs_errno(), cs_option()

Invalid/unsupported mode: cs_open()

Invalid/unsupported option: cs_option()

Information is unavailable because detail option is OFF

Dynamic Memory management uninitialized (see CS_OPT_MEM)

Unsupported Version (bindings)

Access irrelevant data in "diet" engine

Access irrelevant data for "data" instruction in SKIPDATA Mode

X86 AT&T syntax is unsupported (opt-out at compile time)

X86 Intel syntax is unsupported (opt-out at compile time)

An unknown error not equal to a CapstoneError

Error with a custom message

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Eq for Error
[src]

impl Hash for Error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Error
[src]

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

This method tests for !=.

impl From<Type> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error