mirror of
https://github.com/EddieIvan01/memexec
synced 2024-06-25 00:10:33 +00:00
12 lines
259 B
Rust
12 lines
259 B
Rust
#[derive(Debug)]
|
|
pub enum Error {
|
|
InvalidDosSignature,
|
|
InvalidNtHeaderOffset,
|
|
InvalidNtSignature,
|
|
UnsupportedMachine,
|
|
InvalidFileHeaderCharacteristics,
|
|
InvalidOptionalHeaderMagic,
|
|
}
|
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|