pub enum Z80Error {
Halted,
Breakpoint,
Unimplemented(Instruction),
UnexpectedInstruction(Instruction),
BusError(String),
Other(String),
}
Variants§
Halted
Breakpoint
Unimplemented(Instruction)
UnexpectedInstruction(Instruction)
BusError(String)
Other(String)
Trait Implementations§
source§impl Error for Z80Error
impl Error for Z80Error
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl ErrorType for Z80Error
Auto Trait Implementations§
impl Freeze for Z80Error
impl RefUnwindSafe for Z80Error
impl Send for Z80Error
impl Sync for Z80Error
impl Unpin for Z80Error
impl UnwindSafe for Z80Error
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
source§impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T