[][src]Struct symbolic_minidump::processor::CodeModule

#[repr(C)]
pub struct CodeModule(_);

Carries information about a code module loaded into the process during the crash. The debug_identifier uniquely identifies this module.

Methods

impl CodeModule[src]

pub fn id(&self) -> Option<CodeModuleId>[src]

Returns the unique identifier of this CodeModule, which corresponds to the identifier returned by debug_identifier.

pub fn base_address(&self) -> u64[src]

Returns the base address of this code module as it was loaded by the process. (uint64_t)-1 on error.

pub fn size(&self) -> u64[src]

The size of the code module. 0 on error.

pub fn code_file(&self) -> String[src]

Returns the path or file name that the code module was loaded from.

pub fn code_identifier(&self) -> String[src]

An identifying string used to discriminate between multiple versions and builds of the same code module.

The contents of this identifier are implementation defined. GCC generally uses a 40 character (20 byte) SHA1 checksum of the code. On Windows, this is the program timestamp and version number. On macOS, this value is empty.

pub fn debug_file(&self) -> String[src]

Returns the filename containing debugging information of this code module.

If debugging information is stored in a file separate from the code module itself (as is the case when .pdb or .dSYM files are used), this will be different from code_file. If debugging information is stored in the code module itself (possibly prior to stripping), this will be the same as code_file.

pub fn debug_identifier(&self) -> String[src]

Returns a string identifying the specific version and build of the associated debug file.

This may be the same as code_identifier when the debug_file and code_file are identical or when the same identifier is used to identify distinct debug and code files.

It usually comprises the library's UUID and an age field. On Windows, the age field is a generation counter, on all other platforms it is mostly zero.

Trait Implementations

impl PartialOrd<CodeModule> for CodeModule[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<CodeModule> for CodeModule[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Ord for CodeModule[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Returns max if self is greater than max, and min if self is less than min. Otherwise this will return self. Panics if min > max. Read more

impl Eq for CodeModule[src]

impl Debug for CodeModule[src]

impl Hash for CodeModule[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for CodeModule

impl Sync for CodeModule

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T