Enum riscv_decode::DecodingError
source · [−]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
sourceimpl Clone for DecodingError
impl Clone for DecodingError
sourcefn clone(&self) -> DecodingError
fn clone(&self) -> DecodingError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecodingError
impl Debug for DecodingError
sourceimpl Hash for DecodingError
impl Hash for DecodingError
sourceimpl PartialEq<DecodingError> for DecodingError
impl PartialEq<DecodingError> for DecodingError
impl Copy for DecodingError
impl Eq for DecodingError
impl StructuralEq for DecodingError
impl StructuralPartialEq for DecodingError
Auto Trait Implementations
impl RefUnwindSafe for DecodingError
impl Send for DecodingError
impl Sync for DecodingError
impl Unpin for DecodingError
impl UnwindSafe for DecodingError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more