Trait object::read::elf::NoteHeader
source · 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 NoteHeader32
and 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.