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§

source

fn n_namesz(&self, endian: Self::Endian) -> u32

source

fn n_descsz(&self, endian: Self::Endian) -> u32

source

fn n_type(&self, endian: Self::Endian) -> u32

Implementors§

source§

impl<Endian: Endian> NoteHeader for NoteHeader32<Endian>

§

type Endian = Endian

source§

impl<Endian: Endian> NoteHeader for NoteHeader64<Endian>

§

type Endian = Endian