pub trait Entry {
    // Required methods
    fn name(&self) -> u32;
    fn info(&self) -> u8;
    fn other(&self) -> Visibility_;
    fn shndx(&self) -> u16;
    fn value(&self) -> u64;
    fn size(&self) -> u64;
    fn get_name<'a>(
        &'a self,
        elf_file: &ElfFile<'a>
    ) -> Result<&'a str, &'static str>;

    // Provided methods
    fn get_other(&self) -> Visibility { ... }
    fn get_binding(&self) -> Result<Binding, &'static str> { ... }
    fn get_type(&self) -> Result<Type, &'static str> { ... }
    fn get_section_header<'a>(
        &'a self,
        elf_file: &ElfFile<'a>,
        self_index: usize
    ) -> Result<SectionHeader<'a>, &'static str> { ... }
}

Required Methods§

source

fn name(&self) -> u32

source

fn info(&self) -> u8

source

fn other(&self) -> Visibility_

source

fn shndx(&self) -> u16

source

fn value(&self) -> u64

source

fn size(&self) -> u64

source

fn get_name<'a>( &'a self, elf_file: &ElfFile<'a> ) -> Result<&'a str, &'static str>

Provided Methods§

source

fn get_other(&self) -> Visibility

source

fn get_binding(&self) -> Result<Binding, &'static str>

source

fn get_type(&self) -> Result<Type, &'static str>

source

fn get_section_header<'a>( &'a self, elf_file: &ElfFile<'a>, self_index: usize ) -> Result<SectionHeader<'a>, &'static str>

Trait Implementations§

source§

impl Display for dyn Entry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§