Enum rustzx_core::error::Error
source · 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
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
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
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.