pub enum Error {
AssetRead(IoError),
RomLoad(RomLoadError),
TapeLoad(TapeLoadError),
ScreenLoad(ScreenLoadError),
}
Variants§
AssetRead(IoError)
Failed to read asset
RomLoad(RomLoadError)
Failed to load rom
TapeLoad(TapeLoadError)
Failed to load tape
ScreenLoad(ScreenLoadError)
Failed to load screen
Trait Implementations§
Source§impl From<RomLoadError> for Error
Convert into RomLoad
variant.
impl From<RomLoadError> for Error
Convert into RomLoad
variant.
Source§fn from(v: RomLoadError) -> Self
fn from(v: RomLoadError) -> Self
Converts to this type from the input type.
Source§impl From<ScreenLoadError> for Error
Convert into ScreenLoad
variant.
impl From<ScreenLoadError> for Error
Convert into ScreenLoad
variant.
Source§fn from(v: ScreenLoadError) -> Self
fn from(v: ScreenLoadError) -> Self
Converts to this type from the input type.
Source§impl From<TapeLoadError> for Error
Convert into TapeLoad
variant.
impl From<TapeLoadError> for Error
Convert into TapeLoad
variant.
Source§fn from(v: TapeLoadError) -> Self
fn from(v: TapeLoadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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