pub enum Arm9OverlaySignaturesError {
HmacSha1Signature {
source: HmacSha1SignatureError,
},
RawBuildInfo {
source: RawBuildInfoError,
},
OverlaySignaturesCompressed {
backtrace: Backtrace,
},
}Expand description
Errors related to Arm9::overlay_signatures and Arm9::overlay_signatures_mut.
Variants§
HmacSha1Signature
See [OverlaySignatureError].
Fields
§
source: HmacSha1SignatureErrorSource error.
RawBuildInfo
See RawBuildInfoError.
Fields
§
source: RawBuildInfoErrorSource error.
OverlaySignaturesCompressed
Occurs when trying to access overlay signatures while the ARM9 program is compressed.
Trait Implementations§
Source§impl Debug for Arm9OverlaySignaturesError
impl Debug for Arm9OverlaySignaturesError
Source§impl Display for Arm9OverlaySignaturesError
impl Display for Arm9OverlaySignaturesError
Source§impl Error for Arm9OverlaySignaturesError
impl Error for Arm9OverlaySignaturesError
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 Arm9OverlaySignaturesError
impl ErrorCompat for Arm9OverlaySignaturesError
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<Arm9OverlaySignaturesError> for OverlayError
impl From<Arm9OverlaySignaturesError> for OverlayError
Source§fn from(error: Arm9OverlaySignaturesError) -> Self
fn from(error: Arm9OverlaySignaturesError) -> Self
Converts to this type from the input type.
Source§impl From<Arm9OverlaySignaturesError> for RawOverlayError
impl From<Arm9OverlaySignaturesError> for RawOverlayError
Source§fn from(error: Arm9OverlaySignaturesError) -> Self
fn from(error: Arm9OverlaySignaturesError) -> Self
Converts to this type from the input type.
Source§impl From<Arm9OverlaySignaturesError> for RomSaveError
impl From<Arm9OverlaySignaturesError> for RomSaveError
Source§fn from(error: Arm9OverlaySignaturesError) -> Self
fn from(error: Arm9OverlaySignaturesError) -> Self
Converts to this type from the input type.
Source§impl From<HmacSha1SignatureError> for Arm9OverlaySignaturesError
impl From<HmacSha1SignatureError> for Arm9OverlaySignaturesError
Source§fn from(error: HmacSha1SignatureError) -> Self
fn from(error: HmacSha1SignatureError) -> Self
Converts to this type from the input type.
Source§impl From<RawBuildInfoError> for Arm9OverlaySignaturesError
impl From<RawBuildInfoError> for Arm9OverlaySignaturesError
Source§fn from(error: RawBuildInfoError) -> Self
fn from(error: RawBuildInfoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Arm9OverlaySignaturesError
impl RefUnwindSafe for Arm9OverlaySignaturesError
impl Send for Arm9OverlaySignaturesError
impl Sync for Arm9OverlaySignaturesError
impl Unpin for Arm9OverlaySignaturesError
impl UnsafeUnpin for Arm9OverlaySignaturesError
impl UnwindSafe for Arm9OverlaySignaturesError
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