pub enum Malformed {
Opcode(u8),
Flags(u8),
NotCanonical {
field: &'static str,
value: u64,
},
Bool(u64),
Target {
pc: Pc,
displacement: i64,
},
}Expand description
Why sixteen bytes are not an instruction.
Variants§
Opcode(u8)
The opcode byte names no defined operation.
Flags(u8)
flags is reserved and must be zero.
NotCanonical
A field the opcode does not use, and it is not zero.
Bool(u64)
A const.bool whose payload is neither 0 nor 1.
Target
Trait Implementations§
impl Copy for Malformed
impl Eq for Malformed
impl StructuralPartialEq for Malformed
Auto Trait Implementations§
impl Freeze for Malformed
impl RefUnwindSafe for Malformed
impl Send for Malformed
impl Sync for Malformed
impl Unpin for Malformed
impl UnsafeUnpin for Malformed
impl UnwindSafe for Malformed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.