pub enum Type {
Show 41 variants
PT_NULL,
LOAD,
DYNAMIC,
INTERP,
NOTE,
SHLIB,
PHDR,
TLS,
GNU_EH_FRAME,
GNU_STACK,
GNU_PROPERTY,
GNU_RELRO,
PAX_FLAGS,
ARM_ARCHEXT,
ARM_EXIDX,
ARM_UNWIND,
AARCH64_MEMTAG_MTE,
MIPS_REGINFO,
MIPS_RTPROC,
MIPS_OPTIONS,
MIPS_ABIFLAGS,
RISCV_ATTRIBUTES,
IA_64_EXT,
IA_64_UNWIND,
HP_TLS,
HP_CORE_NONE,
HP_CORE_VERSION,
HP_CORE_KERNEL,
HP_CORE_COMM,
HP_CORE_PROC,
HP_CORE_LOADABLE,
HP_CORE_STACK,
HP_CORE_SHM,
HP_CORE_MMF,
HP_PARALLEL,
HP_FASTBIND,
HP_OPT_ANNOT,
HP_HSL_ANNOT,
HP_STACK,
HP_CORE_UTSNAME,
UNKNOWN(u64),
}
Variants§
PT_NULL
Unused segment
LOAD
Loadable segment
DYNAMIC
Dynamic linking information.
INTERP
Interpreter pathname.
NOTE
Auxiliary information.
SHLIB
Reserved
PHDR
The program header table itself.
TLS
The thread-local storage template.
GNU_EH_FRAME
GNU_STACK
Indicates stack executability
GNU_PROPERTY
GNU property
GNU_RELRO
Read-only after relocation.
PAX_FLAGS
ARM_ARCHEXT
Platform architecture compatibility info
ARM_EXIDX
ARM_UNWIND
AARCH64_MEMTAG_MTE
MIPS_REGINFO
Register usage information
MIPS_RTPROC
Runtime procedure table.
MIPS_OPTIONS
Options segment.
MIPS_ABIFLAGS
Abiflags segment.
RISCV_ATTRIBUTES
IA_64_EXT
IA_64_UNWIND
HP_TLS
HP_CORE_NONE
HP_CORE_VERSION
HP_CORE_KERNEL
HP_CORE_COMM
HP_CORE_PROC
HP_CORE_LOADABLE
HP_CORE_STACK
HP_CORE_SHM
HP_CORE_MMF
HP_PARALLEL
HP_FASTBIND
HP_OPT_ANNOT
HP_HSL_ANNOT
HP_STACK
HP_CORE_UTSNAME
UNKNOWN(u64)
Implementations§
§impl Type
impl Type
pub fn from_value(value: u64) -> Self
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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