#[non_exhaustive]pub enum SectionHeaderFlags {
Show 13 variants
Write,
Alloc,
Exec,
Mergeable,
Strings,
InfoLink,
LinkOrder,
OSNonConforming,
Group,
TLS,
Compressed,
MaskOS,
MaskProc,
}Available on crate feature
elf only.Expand description
ELF Section Header flags
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Write
SHF_WRITE: writable data
Alloc
SHF_ALLOC: section occupies memory
Exec
SHF_EXECINSTR: section contains instructions
Mergeable
SHF_MERGE: section may be merged
Strings
SHF_STRINGS: section contains strings
InfoLink
SHF_INFO_LINK: holds section index
LinkOrder
SHF_LINK_ORDER: special ordering requirements
OSNonConforming
SHF_OS_NONCONFORMING: OS-specific processing required
Group
SHF_GROUP: Member of section group
TLS
SHF_TLS: section contains Thread Local Storage (TLS) data
Compressed
SHF_COMPRESSED: section is compressed
MaskOS
SHF_MASKOS: OS-specific items
MaskProc
SHF_MASKPROC: processor-specific items
Trait Implementations§
Source§impl<R: Into<FlagSet<SectionHeaderFlags>>> BitAnd<R> for SectionHeaderFlags
impl<R: Into<FlagSet<SectionHeaderFlags>>> BitAnd<R> for SectionHeaderFlags
Source§impl<R: Into<FlagSet<SectionHeaderFlags>>> BitOr<R> for SectionHeaderFlags
impl<R: Into<FlagSet<SectionHeaderFlags>>> BitOr<R> for SectionHeaderFlags
Source§impl<R: Into<FlagSet<SectionHeaderFlags>>> BitXor<R> for SectionHeaderFlags
impl<R: Into<FlagSet<SectionHeaderFlags>>> BitXor<R> for SectionHeaderFlags
Source§impl Clone for SectionHeaderFlags
impl Clone for SectionHeaderFlags
Source§fn clone(&self) -> SectionHeaderFlags
fn clone(&self) -> SectionHeaderFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionHeaderFlags
impl Debug for SectionHeaderFlags
Source§impl From<SectionHeaderFlags> for FlagSet<SectionHeaderFlags>
impl From<SectionHeaderFlags> for FlagSet<SectionHeaderFlags>
Source§fn from(value: SectionHeaderFlags) -> Self
fn from(value: SectionHeaderFlags) -> Self
Converts to this type from the input type.
Source§impl Not for SectionHeaderFlags
impl Not for SectionHeaderFlags
Source§impl PartialEq for SectionHeaderFlags
impl PartialEq for SectionHeaderFlags
Source§impl<R: Into<FlagSet<SectionHeaderFlags>>> Rem<R> for SectionHeaderFlags
impl<R: Into<FlagSet<SectionHeaderFlags>>> Rem<R> for SectionHeaderFlags
Source§impl<R: Into<FlagSet<SectionHeaderFlags>>> Sub<R> for SectionHeaderFlags
impl<R: Into<FlagSet<SectionHeaderFlags>>> Sub<R> for SectionHeaderFlags
impl Copy for SectionHeaderFlags
impl Eq for SectionHeaderFlags
impl StructuralPartialEq for SectionHeaderFlags
Auto Trait Implementations§
impl Freeze for SectionHeaderFlags
impl RefUnwindSafe for SectionHeaderFlags
impl Send for SectionHeaderFlags
impl Sync for SectionHeaderFlags
impl Unpin for SectionHeaderFlags
impl UnwindSafe for SectionHeaderFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more