[][src]Struct gimli::read::EhFrameHdr

pub struct EhFrameHdr<R: Reader>(_);

EhFrameHdr contains the information about the .eh_frame_hdr section.

A pointer to the start of the .eh_frame data, and optionally, a binary search table of pointers to the .eh_frame records that are found in this section.

Implementations

impl<'input, Endian> EhFrameHdr<EndianSlice<'input, Endian>> where
    Endian: Endianity
[src]

pub fn new(section: &'input [u8], endian: Endian) -> Self[src]

Constructs a new EhFrameHdr instance from the data in the .eh_frame_hdr section.

impl<R: Reader> EhFrameHdr<R>[src]

pub fn parse(
    &self,
    bases: &BaseAddresses,
    address_size: u8
) -> Result<ParsedEhFrameHdr<R>>
[src]

Parses this EhFrameHdr to a ParsedEhFrameHdr.

Trait Implementations

impl<R: Clone + Reader> Clone for EhFrameHdr<R>[src]

impl<R: Copy + Reader> Copy for EhFrameHdr<R>[src]

impl<R: Debug + Reader> Debug for EhFrameHdr<R>[src]

impl<R: Eq + Reader> Eq for EhFrameHdr<R>[src]

impl<R: Reader> From<R> for EhFrameHdr<R>[src]

impl<R: PartialEq + Reader> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R>[src]

impl<R: Reader> Section<R> for EhFrameHdr<R>[src]

impl<R: Reader> StructuralEq for EhFrameHdr<R>[src]

impl<R: Reader> StructuralPartialEq for EhFrameHdr<R>[src]

Auto Trait Implementations

impl<R> Send for EhFrameHdr<R> where
    R: Send

impl<R> Sync for EhFrameHdr<R> where
    R: Sync

impl<R> Unpin for EhFrameHdr<R> where
    R: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.