pub enum Type {
Show 22 variants
PT_NULL,
LOAD,
DYNAMIC,
INTERP,
NOTE,
SHLIB,
PHDR,
TLS,
GNU_EH_FRAME,
GNU_STACK,
GNU_PROPERTY,
GNU_RELRO,
ARM_ARCHEXT,
ARM_EXIDX,
ARM_UNWIND,
AARCH64_MEMTAG_MTE,
MIPS_REGINFO,
MIPS_RTPROC,
MIPS_OPTIONS,
MIPS_ABIFLAGS,
RISCV_ATTRIBUTES,
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.
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
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