pub enum DisassemblyFailure {
InvalidOpcode(u8),
UnimplementedOpcode(u8),
}
Expand description
Signals that an Instruction
could not be converted to a
SymbolicInstruction
.
Variants§
InvalidOpcode(u8)
The opcode field of the instruction word does not correspond to a known opcode.
UnimplementedOpcode(u8)
The opcode field of the instruction word corresponds to an operation we know nothing about. This enumerator shouldn’t be considered stable; we might remove it entirely. Currently only opcode 2 yields this result (corresponding to “XEQ?” hand-written on a copy of the User Handbook).
Trait Implementations§
Source§impl Debug for DisassemblyFailure
impl Debug for DisassemblyFailure
Source§impl Display for DisassemblyFailure
impl Display for DisassemblyFailure
Source§impl PartialEq for DisassemblyFailure
impl PartialEq for DisassemblyFailure
impl Eq for DisassemblyFailure
impl StructuralPartialEq for DisassemblyFailure
Auto Trait Implementations§
impl Freeze for DisassemblyFailure
impl RefUnwindSafe for DisassemblyFailure
impl Send for DisassemblyFailure
impl Sync for DisassemblyFailure
impl Unpin for DisassemblyFailure
impl UnwindSafe for DisassemblyFailure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.