[][src]Enum object::SectionKind

pub enum SectionKind {
    Unknown,
    Text,
    Data,
    ReadOnlyData,
    ReadOnlyString,
    UninitializedData,
    Tls,
    UninitializedTls,
    OtherString,
    Other,
    Metadata,
}

The kind of a section.

Variants

Unknown

The section kind is unknown.

Text

An executable code section.

Example ELF sections: .text

Data

A data section.

Example ELF sections: .data

ReadOnlyData

A read only data section.

Example ELF sections: .rodata

ReadOnlyString

A loadable string section.

Example ELF sections: .rodata.str

UninitializedData

An uninitialized data section.

Example ELF sections: .bss

Tls

A TLS data section.

Example ELF sections: .tdata

UninitializedTls

An uninitialized TLS data section.

Example ELF sections: .tbss

OtherString

A non-loadable string section.

Example ELF sections: .comment, .debug_str

Other

Some other non-loadable section.

Example ELF sections: .debug_info

Metadata

Metadata such as symbols or relocations.

Example ELF sections: .symtab, .strtab

Trait Implementations

impl Debug for SectionKind[src]

impl PartialEq<SectionKind> for SectionKind[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for SectionKind[src]

impl Copy for SectionKind[src]

impl Clone for SectionKind[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.