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
OutOfMemory
Out-Of-Memory error: cs_open(), cs_disasm(), cs_disasm_iter()
UnsupportedArch
Unsupported Architecture: cs_open()
InvalidHandle
Invalid Handle: cs_op_count(), cs_op_index()
InvalidCsh
Invalid InvalidCsh argument: cs_close(), cs_errno(), cs_option()
InvalidMode
Invalid/unsupported mode: cs_open()
InvalidOption
Invalid/unsupported option: cs_option()
DetailOff
Information is unavailable because detail option is OFF
UninitializedMemSetup
Dynamic Memory management uninitialized (see CS_OPT_MEM)
UnsupportedVersion
Unsupported Version (bindings)
IrrelevantDataInDiet
Access irrelevant data in "diet" engine
IrrelevantDataInSkipData
Access irrelevant data for "data" instruction in SKIPDATA Mode
UnsupportedX86Att
X86 AT&T syntax is unsupported (opt-out at compile time)
UnsupportedX86Intel
X86 Intel syntax is unsupported (opt-out at compile time)
UnknownCapstoneError
An unknown error not equal to a CapstoneError
CustomError(&'static str)
Error with a custom message
Trait Implementations
impl Copy for Error
[src]
impl Copy for Error
impl Clone for Error
[src]
impl Clone for Error
fn clone(&self) -> Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Error
[src]
impl Eq for Error
impl Hash for Error
[src]
impl Hash for Error
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Error) -> bool
[src]
fn ne(&self, other: &Error) -> bool
This method tests for !=
.
impl From<Type> for Error
[src]
impl From<Type> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error