Struct Verdaux

struct Verdaux<E: Endian> { ... }

Auxiliary version information.

Fields

vda_name: crate::endian::U32<E>

Version or dependency names

vda_next: crate::endian::U32<E>

Offset in bytes to next verdaux

Implementations

impl<Endian: endian::Endian> elf::Verdaux<Endian>

fn name<'data, R: ReadRef<'data>>(self: &Self, endian: Endian, strings: StringTable<'data, R>) -> Result<&'data [u8]>

Parse the version name from the string table.

impl<E> Freeze for Verdaux<E>

impl<E> RefUnwindSafe for Verdaux<E>

impl<E> Send for Verdaux<E>

impl<E> Sync for Verdaux<E>

impl<E> Unpin for Verdaux<E>

impl<E> UnwindSafe for Verdaux<E>

impl<E: $crate::clone::Clone + Endian> Clone for Verdaux<E>

fn clone(self: &Self) -> Verdaux<E>

impl<E: $crate::fmt::Debug + Endian> Debug for Verdaux<E>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<E: $crate::marker::Copy + Endian> Copy for Verdaux<E>

impl<E: Endian> Pod for Verdaux<E>

impl<T> Any for Verdaux<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Verdaux<E>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Verdaux<E>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Verdaux<E>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Verdaux<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Verdaux<E>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Verdaux<E>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Verdaux<E>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Verdaux<E>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>