# Entry in xmas_elf::symbol_table - Rust
API documentation for the Rust `Entry` trait in crate `xmas_elf`.
Keywords: rust, rustlang, rust-lang, Entry

# Trait xmas_elf::symbol_table::Entry

source · [−]

    pub trait Entry {
        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>;

        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

source

### impl Entry for DynEntry32

source

### impl Entry for DynEntry64

source

### impl Entry for Entry32

source

### impl Entry for Entry64