pub enum RawArm9Error {
RawHeader {
source: RawHeaderError,
},
Arm9Footer {
source: Arm9FooterError,
},
RawBuildInfo {
source: RawBuildInfoError,
},
}Expand description
Errors related to Rom::arm9.
Variants§
RawHeader
See RawHeaderError.
Fields
§
source: RawHeaderErrorSource error.
See Arm9FooterError.
RawBuildInfo
See RawBuildInfoError.
Fields
§
source: RawBuildInfoErrorSource error.
Trait Implementations§
Source§impl Debug for RawArm9Error
impl Debug for RawArm9Error
Source§impl Display for RawArm9Error
impl Display for RawArm9Error
Source§impl Error for RawArm9Error
impl Error for RawArm9Error
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 RawArm9Error
impl ErrorCompat for RawArm9Error
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§fn from(error: Arm9FooterError) -> Self
fn from(error: Arm9FooterError) -> Self
Converts to this type from the input type.
Source§impl From<RawArm9Error> for RawOverlayError
impl From<RawArm9Error> for RawOverlayError
Source§fn from(error: RawArm9Error) -> Self
fn from(error: RawArm9Error) -> Self
Converts to this type from the input type.
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<RawBuildInfoError> for RawArm9Error
impl From<RawBuildInfoError> for RawArm9Error
Source§fn from(error: RawBuildInfoError) -> Self
fn from(error: RawBuildInfoError) -> Self
Converts to this type from the input type.
Source§impl From<RawHeaderError> for RawArm9Error
impl From<RawHeaderError> for RawArm9Error
Source§fn from(error: RawHeaderError) -> Self
fn from(error: RawHeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RawArm9Error
impl RefUnwindSafe for RawArm9Error
impl Send for RawArm9Error
impl Sync for RawArm9Error
impl Unpin for RawArm9Error
impl UnsafeUnpin for RawArm9Error
impl UnwindSafe for RawArm9Error
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