[][src]Enum z80emu::host::BreakCause

pub enum BreakCause<O, R> {
    Halt,
    WriteIo(O),
    Reti(R),
}

An enum representing the execution break cause returned by various methods of the Cpu trait.

Variants

Halt

The HALT instruction was executed.

WriteIo(O)

Io::write_io requested a break while one of the OUT family instructions was executed.

Reti(R)

Io::reti requested a break while RETI was executed.

Trait Implementations

impl<O: Debug, R: Debug> Debug for BreakCause<O, R>[src]

impl<O, R> Display for BreakCause<O, R>[src]

impl<O, R> Error for BreakCause<O, R> where
    O: Debug,
    R: Debug
[src]

impl<O, R, '_, '_> From<&'_ BreakCause<O, R>> for &'_ str[src]

impl<O, R, '_> From<BreakCause<O, R>> for &'_ str[src]

Auto Trait Implementations

impl<O, R> RefUnwindSafe for BreakCause<O, R> where
    O: RefUnwindSafe,
    R: RefUnwindSafe

impl<O, R> Send for BreakCause<O, R> where
    O: Send,
    R: Send

impl<O, R> Sync for BreakCause<O, R> where
    O: Sync,
    R: Sync

impl<O, R> Unpin for BreakCause<O, R> where
    O: Unpin,
    R: Unpin

impl<O, R> UnwindSafe for BreakCause<O, R> where
    O: UnwindSafe,
    R: UnwindSafe

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.