[−][src]Struct fuchsia_backtrace::Dso
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(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,