pub enum SuperHInstructionDecodeError {
Exhausted,
NotFound,
}
Variants
Exhausted
NotFound
Trait Implementations
sourceimpl Clone for SuperHInstructionDecodeError
impl Clone for SuperHInstructionDecodeError
sourcefn clone(&self) -> SuperHInstructionDecodeError
fn clone(&self) -> SuperHInstructionDecodeError
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 moresourceimpl Debug for SuperHInstructionDecodeError
impl Debug for SuperHInstructionDecodeError
sourceimpl DecodeError for SuperHInstructionDecodeError
impl DecodeError for SuperHInstructionDecodeError
sourcefn data_exhausted(&self) -> bool
fn data_exhausted(&self) -> bool
did the decoder fail because it reached the end of input?
sourcefn bad_opcode(&self) -> bool
fn bad_opcode(&self) -> bool
did the decoder error because the instruction’s opcode is invalid? Read more
sourcefn bad_operand(&self) -> bool
fn bad_operand(&self) -> bool
did the decoder error because an operand of the instruction to decode is invalid? Read more
sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
a human-friendly description of this decode error.
sourceimpl Error for SuperHInstructionDecodeError
impl Error for SuperHInstructionDecodeError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ReadError> for SuperHInstructionDecodeError
impl From<ReadError> for SuperHInstructionDecodeError
sourcefn from(_e: ReadError) -> SuperHInstructionDecodeError
fn from(_e: ReadError) -> SuperHInstructionDecodeError
Converts to this type from the input type.
sourceimpl Hash for SuperHInstructionDecodeError
impl Hash for SuperHInstructionDecodeError
sourceimpl Ord for SuperHInstructionDecodeError
impl Ord for SuperHInstructionDecodeError
sourcefn cmp(&self, other: &SuperHInstructionDecodeError) -> Ordering
fn cmp(&self, other: &SuperHInstructionDecodeError) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SuperHInstructionDecodeError> for SuperHInstructionDecodeError
impl PartialEq<SuperHInstructionDecodeError> for SuperHInstructionDecodeError
sourcefn eq(&self, other: &SuperHInstructionDecodeError) -> bool
fn eq(&self, other: &SuperHInstructionDecodeError) -> bool
sourceimpl PartialOrd<SuperHInstructionDecodeError> for SuperHInstructionDecodeError
impl PartialOrd<SuperHInstructionDecodeError> for SuperHInstructionDecodeError
sourcefn partial_cmp(&self, other: &SuperHInstructionDecodeError) -> Option<Ordering>
fn partial_cmp(&self, other: &SuperHInstructionDecodeError) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SuperHInstructionDecodeError
impl Eq for SuperHInstructionDecodeError
impl StructuralEq for SuperHInstructionDecodeError
impl StructuralPartialEq for SuperHInstructionDecodeError
Auto Trait Implementations
impl RefUnwindSafe for SuperHInstructionDecodeError
impl Send for SuperHInstructionDecodeError
impl Sync for SuperHInstructionDecodeError
impl Unpin for SuperHInstructionDecodeError
impl UnwindSafe for SuperHInstructionDecodeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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