pub enum RawAutoloadInfoError {
RawBuildInfo {
source: RawBuildInfoError,
},
InvalidSize {
backtrace: Backtrace,
},
Misaligned {
expected: usize,
actual: usize,
backtrace: Backtrace,
},
}Expand description
Errors related to AutoloadInfo.
Variants§
RawBuildInfo
See RawBuildInfoError.
Fields
§
source: RawBuildInfoErrorSource error.
InvalidSize
Occurs when the input is not evenly divisible into a slice of AutoloadInfo.
Misaligned
Occurs when the input is less aligned than AutoloadInfo.
Trait Implementations§
Source§impl Debug for RawAutoloadInfoError
impl Debug for RawAutoloadInfoError
Source§impl Display for RawAutoloadInfoError
impl Display for RawAutoloadInfoError
Source§impl Error for RawAutoloadInfoError
impl Error for RawAutoloadInfoError
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 RawAutoloadInfoError
impl ErrorCompat for RawAutoloadInfoError
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<RawAutoloadInfoError> for Arm9AutoloadError
impl From<RawAutoloadInfoError> for Arm9AutoloadError
Source§fn from(error: RawAutoloadInfoError) -> Self
fn from(error: RawAutoloadInfoError) -> Self
Converts to this type from the input type.
Source§impl From<RawBuildInfoError> for RawAutoloadInfoError
impl From<RawBuildInfoError> for RawAutoloadInfoError
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 RawAutoloadInfoError
impl RefUnwindSafe for RawAutoloadInfoError
impl Send for RawAutoloadInfoError
impl Sync for RawAutoloadInfoError
impl Unpin for RawAutoloadInfoError
impl UnsafeUnpin for RawAutoloadInfoError
impl UnwindSafe for RawAutoloadInfoError
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