Struct NoteHeader32
struct NoteHeader32<E: Endian> { ... }
Note section entry header.
A note consists of a header followed by a variable length name and descriptor.
Fields
n_namesz: crate::endian::U32<E>Length of the note's name.
Some known names are defined by the
ELF_NOTE_*constants.n_descsz: crate::endian::U32<E>Length of the note's descriptor.
The content of the descriptor depends on the note name and type.
n_type: crate::endian::U32<E>Type of the note.
One of the
NT_*constants. The note name determines whichNT_*constants are valid.
Implementations
impl<E> Freeze for NoteHeader32<E>
impl<E> RefUnwindSafe for NoteHeader32<E>
impl<E> Send for NoteHeader32<E>
impl<E> Sync for NoteHeader32<E>
impl<E> Unpin for NoteHeader32<E>
impl<E> UnwindSafe for NoteHeader32<E>
impl<E: $crate::clone::Clone + Endian> Clone for NoteHeader32<E>
fn clone(self: &Self) -> NoteHeader32<E>
impl<E: $crate::fmt::Debug + Endian> Debug for NoteHeader32<E>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<E: $crate::marker::Copy + Endian> Copy for NoteHeader32<E>
impl<E: Endian> Pod for NoteHeader32<E>
impl<Endian: endian::Endian> NoteHeader for elf::NoteHeader32<Endian>
fn n_namesz(self: &Self, endian: <Self as >::Endian) -> u32fn n_descsz(self: &Self, endian: <Self as >::Endian) -> u32fn n_type(self: &Self, endian: <Self as >::Endian) -> u32
impl<T> Any for NoteHeader32<E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for NoteHeader32<E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for NoteHeader32<E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for NoteHeader32<E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for NoteHeader32<E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for NoteHeader32<E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for NoteHeader32<E>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for NoteHeader32<E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for NoteHeader32<E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>