Struct capstone_rust::capstone::CsErr
[−]
[src]
pub struct CsErr { /* fields omitted */ }
Rust-friendly error wrapper over Capstone's low-level cs_err.
Methods
impl CsErr
[src]
pub fn new(code: cs_err) -> CsErr
[src]
Create a Capstone error from a low-level cs_err code.
pub fn code(&self) -> cs_err
[src]
Get the low-level cr_err code.
Trait Implementations
impl Debug for CsErr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for CsErr
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more