Enum zydis::status::Status [−][src]
#[repr(C)]
pub enum Status {
Show 25 variants
Success,
Failed,
True,
False,
InvalidArgument,
InvalidOperation,
NotFound,
OutOfRange,
InsufficientBufferSize,
NotEnoughMemory,
BadSystemcall,
NoMoreData,
DecodingError,
InstructionTooLong,
BadRegister,
IllegalLock,
IllegalLegacyPfx,
IllegalRex,
InvalidMap,
MalformedEvex,
MalformedMvex,
InvalidMask,
SkipToken,
User,
NotUTF8,
// some variants omitted
}
Variants
Returning this status code from some formatter callback will cause the formatter to omit the corresponding token.
Valid callbacks are:
HookPreOperand
HookPostOperand
HookFormatOperandReg
HookFormatOperandMem
HookFormatOperandPtr
HookFormatOperandImm
HookPrintMemsize
Use this for custom errors that don’t fit for any of the other errors.
The given bytes were not UTF8 encoded.
Implementations
Returns a human readable description of this status code.
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for Status
impl UnwindSafe for Status
Blanket Implementations
Mutably borrows from an owned value. Read more