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

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

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

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> StructuralPartialEq for CieOrFde<'bases, Section, R>
where R: Reader, Section: UnwindSection<R>,

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

impl<'bases, Section, R> UnwindSafe for CieOrFde<'bases, Section, R>
where <R as Reader>::Offset: UnwindSafe, R: UnwindSafe, <Section as UnwindSection<R>>::Offset: UnwindSafe, Section: 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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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,

source§

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>,

source§

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>,

source§

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.