pub enum RomExtractError {
RawHeader {
source: RawHeaderError,
},
Logo {
source: LogoError,
},
RawOverlay {
source: RawOverlayError,
},
RawFnt {
source: RawFntError,
},
RawFat {
source: RawFatError,
},
RawBanner {
source: RawBannerError,
},
FileParse {
source: FileParseError,
},
RawArm9 {
source: RawArm9Error,
},
}Expand description
Errors related to Rom::extract.
Variants§
RawHeader
See RawHeaderError.
Fields
§
source: RawHeaderErrorSource error.
Logo
See LogoError.
RawOverlay
See RawOverlayError.
Fields
§
source: RawOverlayErrorSource error.
RawFnt
See RawFntError.
Fields
§
source: RawFntErrorSource error.
RawFat
See RawFatError.
Fields
§
source: RawFatErrorSource error.
RawBanner
See RawBannerError.
Fields
§
source: RawBannerErrorSource error.
FileParse
See FileParseError.
Fields
§
source: FileParseErrorSource error.
RawArm9
See RawArm9Error.
Fields
§
source: RawArm9ErrorSource error.
Trait Implementations§
source§impl Debug for RomExtractError
impl Debug for RomExtractError
source§impl Display for RomExtractError
impl Display for RomExtractError
source§impl Error for RomExtractError
impl Error for RomExtractError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl ErrorCompat for RomExtractError
impl ErrorCompat for RomExtractError
source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moresource§impl From<FileParseError> for RomExtractError
impl From<FileParseError> for RomExtractError
source§fn from(error: FileParseError) -> Self
fn from(error: FileParseError) -> Self
Converts to this type from the input type.
source§impl From<LogoError> for RomExtractError
impl From<LogoError> for RomExtractError
source§impl From<RawArm9Error> for RomExtractError
impl From<RawArm9Error> for RomExtractError
source§fn from(error: RawArm9Error) -> Self
fn from(error: RawArm9Error) -> Self
Converts to this type from the input type.
source§impl From<RawBannerError> for RomExtractError
impl From<RawBannerError> for RomExtractError
source§fn from(error: RawBannerError) -> Self
fn from(error: RawBannerError) -> Self
Converts to this type from the input type.
source§impl From<RawFatError> for RomExtractError
impl From<RawFatError> for RomExtractError
source§fn from(error: RawFatError) -> Self
fn from(error: RawFatError) -> Self
Converts to this type from the input type.
source§impl From<RawFntError> for RomExtractError
impl From<RawFntError> for RomExtractError
source§fn from(error: RawFntError) -> Self
fn from(error: RawFntError) -> Self
Converts to this type from the input type.
source§impl From<RawHeaderError> for RomExtractError
impl From<RawHeaderError> for RomExtractError
source§fn from(error: RawHeaderError) -> Self
fn from(error: RawHeaderError) -> Self
Converts to this type from the input type.
source§impl From<RawOverlayError> for RomExtractError
impl From<RawOverlayError> for RomExtractError
source§fn from(error: RawOverlayError) -> Self
fn from(error: RawOverlayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RomExtractError
impl RefUnwindSafe for RomExtractError
impl Send for RomExtractError
impl Sync for RomExtractError
impl Unpin for RomExtractError
impl UnwindSafe for RomExtractError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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