pub enum RomAlignmentsError {
RawHeader {
source: RawHeaderError,
},
RawFat {
source: RawFatError,
},
RawOverlay {
source: RawOverlayError,
},
RawBanner {
source: RawBannerError,
},
}Expand description
Errors related to Rom::alignments.
Variants§
RawHeader
See RawHeaderError.
Fields
§
source: RawHeaderErrorSource error.
RawFat
See RawFatError.
Fields
§
source: RawFatErrorSource error.
RawOverlay
See RawOverlayError.
Fields
§
source: RawOverlayErrorSource error.
RawBanner
See RawFntError.
Fields
§
source: RawBannerErrorSource error.
Trait Implementations§
Source§impl Debug for RomAlignmentsError
impl Debug for RomAlignmentsError
Source§impl Display for RomAlignmentsError
impl Display for RomAlignmentsError
Source§impl Error for RomAlignmentsError
impl Error for RomAlignmentsError
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 RomAlignmentsError
impl ErrorCompat for RomAlignmentsError
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<RawBannerError> for RomAlignmentsError
impl From<RawBannerError> for RomAlignmentsError
Source§fn from(error: RawBannerError) -> Self
fn from(error: RawBannerError) -> Self
Converts to this type from the input type.
Source§impl From<RawFatError> for RomAlignmentsError
impl From<RawFatError> for RomAlignmentsError
Source§fn from(error: RawFatError) -> Self
fn from(error: RawFatError) -> Self
Converts to this type from the input type.
Source§impl From<RawHeaderError> for RomAlignmentsError
impl From<RawHeaderError> for RomAlignmentsError
Source§fn from(error: RawHeaderError) -> Self
fn from(error: RawHeaderError) -> Self
Converts to this type from the input type.
Source§impl From<RawOverlayError> for RomAlignmentsError
impl From<RawOverlayError> for RomAlignmentsError
Source§fn from(error: RawOverlayError) -> Self
fn from(error: RawOverlayError) -> Self
Converts to this type from the input type.
Source§impl From<RomAlignmentsError> for RomExtractError
impl From<RomAlignmentsError> for RomExtractError
Source§fn from(error: RomAlignmentsError) -> Self
fn from(error: RomAlignmentsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RomAlignmentsError
impl RefUnwindSafe for RomAlignmentsError
impl Send for RomAlignmentsError
impl Sync for RomAlignmentsError
impl Unpin for RomAlignmentsError
impl UnsafeUnpin for RomAlignmentsError
impl UnwindSafe for RomAlignmentsError
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