[][src]Struct fuchsia_backtrace::Dso

pub struct Dso<'a> {
    pub name: &'a str,
    pub build_id: &'a [u8],
    // some fields omitted
}

Represents an ELF DSO (Dynamic Shared Object). This type references the data stored in the actual DSO rather than making its own copy.

Fields

name: &'a str

The dynamic linker always gives us a name, even if the name is empty. In the case of the main executable this name will be empty. In the case of a shared object it will be the soname (see DT_SONAME).

build_id: &'a [u8]

On Fuchsia virtually all binaries have build IDs but this is not a strict requierment. There's no way to match up DSO information with a real ELF file afterwards if there is no build_id so we require that every DSO have one here. DSO's without a build_id are ignored.

Methods

impl<'_> Dso<'_>[src]

Important traits for SegmentIter<'_>
pub fn segments(&self) -> SegmentIter[src]

Returns an iterator over Segments in this DSO.

Trait Implementations

impl<'a> From<Dso<'a>> for OwnedDso[src]

impl<'a> Clone for Dso<'a>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for Dso<'a>[src]

impl<'a> Debug for Dso<'a>[src]

Auto Trait Implementations

impl<'a> Send for Dso<'a>

impl<'a> Unpin for Dso<'a>

impl<'a> Sync for Dso<'a>

impl<'a> UnwindSafe for Dso<'a>

impl<'a> RefUnwindSafe for Dso<'a>

Blanket Implementations

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.

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

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

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