pub enum Format {
Elf,
Pe,
Le,
}Expand description
A container format this crate can parse, as sniffed from a file’s magic.
Variants§
Elf
\x7fELF.
Pe
An MZ stub whose e_lfanew points at a PE\0\0 signature.
Le
An MZ stub whose e_lfanew points at an LE header: a DOS-extended
(DOS/4GW) program or a VxD.
Implementations§
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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