Struct gimli::read::PartialFrameDescriptionEntry
source · [−]pub struct PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>, { /* private fields */ }
Expand description
A partially parsed FrameDescriptionEntry
.
Fully parsing this FDE requires first parsing its CIE.
Implementations
sourceimpl<'bases, Section, R> PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
impl<'bases, Section, R> PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
sourcepub fn parse<F>(&self, get_cie: F) -> Result<FrameDescriptionEntry<R>> where
F: FnMut(&Section, &BaseAddresses, Section::Offset) -> Result<CommonInformationEntry<R>>,
pub fn parse<F>(&self, get_cie: F) -> Result<FrameDescriptionEntry<R>> where
F: FnMut(&Section, &BaseAddresses, Section::Offset) -> Result<CommonInformationEntry<R>>,
Fully parse this FDE.
You must provide a function get its associated CIE (either by parsing it on demand, or looking it up in some table mapping offsets to CIEs that you’ve already parsed, etc.)
Trait Implementations
sourceimpl<'bases, Section: Clone, R: Clone> Clone for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: Clone,
R::Offset: Clone,
Section::Offset: Clone,
impl<'bases, Section: Clone, R: Clone> Clone for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: Clone,
R::Offset: Clone,
Section::Offset: Clone,
sourcefn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'bases, Section: Debug, R: Debug> Debug for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: Debug,
R::Offset: Debug,
Section::Offset: Debug,
impl<'bases, Section: Debug, R: Debug> Debug for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: Debug,
R::Offset: Debug,
Section::Offset: Debug,
sourceimpl<'bases, Section: PartialEq, R: PartialEq> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: PartialEq,
R::Offset: PartialEq,
Section::Offset: PartialEq,
impl<'bases, Section: PartialEq, R: PartialEq> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: PartialEq,
R::Offset: PartialEq,
Section::Offset: PartialEq,
sourcefn eq(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
fn eq(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
fn ne(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
This method tests for !=
.
impl<'bases, Section: Eq, R: Eq> Eq for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
R::Offset: Eq,
R::Offset: Eq,
Section::Offset: Eq,
impl<'bases, Section, R> StructuralEq for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
impl<'bases, Section, R> StructuralPartialEq for PartialFrameDescriptionEntry<'bases, Section, R> where
R: Reader,
Section: UnwindSection<R>,
Auto Trait Implementations
impl<'bases, Section, R> RefUnwindSafe for PartialFrameDescriptionEntry<'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 PartialFrameDescriptionEntry<'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 PartialFrameDescriptionEntry<'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 PartialFrameDescriptionEntry<'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 PartialFrameDescriptionEntry<'bases, Section, R> where
R: UnwindSafe,
Section: UnwindSafe,
<R as Reader>::Offset: UnwindSafe,
<Section as UnwindSection<R>>::Offset: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more