pub enum DecodingError {
Custom,
Reserved,
Unknown,
Truncated,
Unimplemented,
}
Variants§
Custom
Instruction’s opcode is reserved for custom extentions and thus can’t be decoded further.
Reserved
Instruction’s opcode is reserved for future standard extentions.
Unknown
Instruction bit pattern not defined in current specification.
Truncated
More bits from the instruction are required to fully decode it.
Unimplemented
Instruction type is well defined but is part of some extension this library doesn’t support decoding yet.
Trait Implementations§
Source§impl Clone for DecodingError
impl Clone for DecodingError
Source§fn clone(&self) -> DecodingError
fn clone(&self) -> DecodingError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DecodingError
impl Debug for DecodingError
Source§impl Hash for DecodingError
impl Hash for DecodingError
Source§impl PartialEq for DecodingError
impl PartialEq for DecodingError
impl Copy for DecodingError
impl Eq for DecodingError
impl StructuralPartialEq for DecodingError
Auto Trait Implementations§
impl Freeze for DecodingError
impl RefUnwindSafe for DecodingError
impl Send for DecodingError
impl Sync for DecodingError
impl Unpin for DecodingError
impl UnwindSafe for DecodingError
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