Struct CompressionHeader64
struct CompressionHeader64<E: Endian> { ... }
Section compression header.
Used when SHF_COMPRESSED is set.
Note: this type currently allows for misaligned headers, but that may be changed in a future version.
Fields
ch_type: crate::endian::U32Bytes<E>Compression format. One of the
ELFCOMPRESS_*values.ch_reserved: crate::endian::U32Bytes<E>Reserved.
ch_size: crate::endian::U64Bytes<E>Uncompressed data size.
ch_addralign: crate::endian::U64Bytes<E>Uncompressed data alignment.
Implementations
impl<E> Freeze for CompressionHeader64<E>
impl<E> RefUnwindSafe for CompressionHeader64<E>
impl<E> Send for CompressionHeader64<E>
impl<E> Sync for CompressionHeader64<E>
impl<E> Unpin for CompressionHeader64<E>
impl<E> UnwindSafe for CompressionHeader64<E>
impl<E: $crate::clone::Clone + Endian> Clone for CompressionHeader64<E>
fn clone(self: &Self) -> CompressionHeader64<E>
impl<E: $crate::default::Default + Endian> Default for CompressionHeader64<E>
fn default() -> CompressionHeader64<E>
impl<E: $crate::fmt::Debug + Endian> Debug for CompressionHeader64<E>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<E: $crate::marker::Copy + Endian> Copy for CompressionHeader64<E>
impl<E: Endian> Pod for CompressionHeader64<E>
impl<Endian: endian::Endian> CompressionHeader for elf::CompressionHeader64<Endian>
fn ch_type(self: &Self, endian: <Self as >::Endian) -> u32fn ch_size(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn ch_addralign(self: &Self, endian: <Self as >::Endian) -> <Self as >::Word
impl<T> Any for CompressionHeader64<E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CompressionHeader64<E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CompressionHeader64<E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for CompressionHeader64<E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for CompressionHeader64<E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for CompressionHeader64<E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for CompressionHeader64<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 CompressionHeader64<E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CompressionHeader64<E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>