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> { ... }
}
Formats the value using the given formatter.
Read more