Enum gimli::read::CieOrFde

source ·
pub enum CieOrFde<'bases, Section, R>
where R: Reader, Section: UnwindSection<R>,
{ Cie(CommonInformationEntry<R>), Fde(PartialFrameDescriptionEntry<'bases, Section, R>), }
Expand description

Either a CommonInformationEntry (CIE) or a FrameDescriptionEntry (FDE).

Variants§

§

Cie(CommonInformationEntry<R>)

This CFI entry is a CommonInformationEntry.

§

Fde(PartialFrameDescriptionEntry<'bases, Section, R>)

This CFI entry is a FrameDescriptionEntry, however fully parsing it requires parsing its CIE first, so it is left in a partially parsed state.

Trait Implementations§

source§

impl<'bases, Section, R> Clone for CieOrFde<'bases, Section, R>
where R: Reader + Clone, Section: UnwindSection<R> + Clone,

source§

fn clone(&self) -> CieOrFde<'bases, Section, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'bases, Section, R> Debug for CieOrFde<'bases, Section, R>
where R: Reader + Debug, Section: UnwindSection<R> + Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl<'bases, Section, R> PartialEq for CieOrFde<'bases, Section, R>
where R: Reader + PartialEq, Section: UnwindSection<R> + PartialEq,

source§

fn eq(&self, other: &CieOrFde<'bases, Section, R>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'bases, Section, R> Eq for CieOrFde<'bases, Section, R>
where R: Reader + Eq, Section: UnwindSection<R> + Eq,

source§

impl<'bases, Section, R> StructuralEq for CieOrFde<'bases, Section, R>
where R: Reader, Section: UnwindSection<R>,

source§

impl<'bases, Section, R> StructuralPartialEq for CieOrFde<'bases, Section, R>
where R: Reader, Section: UnwindSection<R>,

Auto Trait Implementations§

§

impl<'bases, Section, R> RefUnwindSafe for CieOrFde<'bases, Section, R>
where R: RefUnwindSafe, Section: RefUnwindSafe, <R as Reader>::Offset: RefUnwindSafe, <Section as UnwindSection<R>>::Offset: RefUnwindSafe,

§

impl<'bases, Section, R> Send for CieOrFde<'bases, Section, R>
where R: Send, Section: Send, <R as Reader>::Offset: Send, <Section as UnwindSection<R>>::Offset: Send,

§

impl<'bases, Section, R> Sync for CieOrFde<'bases, Section, R>
where R: Sync, Section: Sync, <R as Reader>::Offset: Sync, <Section as UnwindSection<R>>::Offset: Sync,

§

impl<'bases, Section, R> Unpin for CieOrFde<'bases, Section, R>
where R: Unpin, Section: Unpin, <R as Reader>::Offset: Unpin, <Section as UnwindSection<R>>::Offset: Unpin,

§

impl<'bases, Section, R> UnwindSafe for CieOrFde<'bases, Section, R>
where R: UnwindSafe, Section: UnwindSafe, <R as Reader>::Offset: UnwindSafe, <Section as UnwindSection<R>>::Offset: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.