pub enum ModuleReaderError {
Show 15 variants
MapFile {
path: PathBuf,
error: Error,
},
ReadModuleMemory {
offset: u64,
length: u64,
start_address: Option<u64>,
error: Error,
},
Parsing(Error),
NoProgramHeaderNote,
NoStrTab,
NoSectionNote,
NoProgramHeaders,
NoSections,
NoTextSection,
NoBuildId {
program_headers: Box<Self>,
section: Box<Self>,
generated: Box<Self>,
},
NoDynStrSection,
StrTabNoNulByte,
NoSoNameEntry,
NoDynamicSection,
NoSoName {
program_headers: Box<Self>,
section: Box<Self>,
},
}Variants§
MapFile
ReadModuleMemory
Parsing(Error)
NoProgramHeaderNote
NoStrTab
NoSectionNote
NoProgramHeaders
NoSections
NoTextSection
NoBuildId
NoDynStrSection
StrTabNoNulByte
NoSoNameEntry
NoDynamicSection
NoSoName
Trait Implementations§
Source§impl Debug for ModuleReaderError
impl Debug for ModuleReaderError
Source§impl Display for ModuleReaderError
impl Display for ModuleReaderError
Source§impl Error for ModuleReaderError
impl Error for ModuleReaderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ModuleReaderError
impl From<Error> for ModuleReaderError
Source§impl From<ModuleReaderError> for WriterError
impl From<ModuleReaderError> for WriterError
Source§fn from(source: ModuleReaderError) -> Self
fn from(source: ModuleReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModuleReaderError
impl !RefUnwindSafe for ModuleReaderError
impl Send for ModuleReaderError
impl Sync for ModuleReaderError
impl Unpin for ModuleReaderError
impl !UnwindSafe for ModuleReaderError
Blanket Implementations§
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