Struct breakpad::CodeModule
[−]
[src]
#[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]
fn id(&self) -> CodeModuleId
[src]
Returns the unique identifier of this CodeModule
.
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.
fn size(&self) -> u64
[src]
The size of the code module. 0 on error.
fn code_file(&self) -> String
[src]
fn code_identifier(&self) -> String
[src]
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.
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 Eq for CodeModule
[src]
impl PartialEq for CodeModule
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Hash for CodeModule
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for CodeModule
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the minimum of two values. Read more
impl PartialOrd for CodeModule
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
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
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
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
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