[][src]Enum olympia_engine::gameboy::StepError

pub enum StepError {
    Memory(MemoryError),
    InvalidOpcode(u8),
}

Represents an error that occurred while performing an emulated instruction.

Variants

Memory(MemoryError)

Errors related to memory access

InvalidOpcode(u8)

Opcodes that don't map to a valid instruction

Trait Implementations

impl Debug for StepError[src]

impl Display for StepError[src]

impl Eq for StepError[src]

impl From<MemoryError> for StepError[src]

impl From<StepError> for Error[src]

impl PartialEq<StepError> for StepError[src]

impl StructuralEq for StepError[src]

impl StructuralPartialEq for StepError[src]

Auto Trait Implementations

impl Send for StepError

impl Sync for StepError

impl Unpin for StepError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.