Trait object::read::elf::note::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 elf::NoteHeader32 and elf::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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

source§

type Endian = Endian

source§

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

source§

type Endian = Endian