pub trait NoteHeader: Debug + Pod {
type Endian: Endian;
// Required methods
fn n_namesz(&self, endian: Self::Endian) -> u32;
fn n_descsz(&self, endian: Self::Endian) -> u32;
fn n_type(&self, endian: Self::Endian) -> u32;
}
Expand description
A trait for generic access to elf::NoteHeader32
and elf::NoteHeader64
.
Required Associated Types§
Required Methods§
fn n_namesz(&self, endian: Self::Endian) -> u32
fn n_descsz(&self, endian: Self::Endian) -> u32
fn n_type(&self, endian: Self::Endian) -> u32
Object Safety§
This trait is not object safe.