Enum FileType
pub enum FileType {
NONE,
REL,
EXEC,
DYN,
CORE,
UNKNOWN(u32),
}
Expand description
The type of the underlying ELF file. This enum matches
the semantic of ET_NONE
, ET_REL
, …
Variants§
NONE
Can’t be determined
REL
Relocatable file (or object file)
EXEC
non-pie executable
DYN
Shared library or a pie-executable
CORE
Core dump file
UNKNOWN(u32)
Trait Implementations§
§impl Ord for FileType
impl Ord for FileType
§impl PartialOrd for FileType
impl PartialOrd for FileType
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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