[−][src]Struct symbolic::minidump::processor::CodeModule
Carries information about a code module loaded into the process during the
crash. The debug_identifier
uniquely identifies this module.
Implementations
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 Debug for CodeModule
[src]
impl Eq for CodeModule
[src]
impl Hash for CodeModule
[src]
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for CodeModule
[src]
pub fn cmp(&self, other: &CodeModule) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<CodeModule> for CodeModule
[src]
pub fn eq(&self, other: &CodeModule) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<CodeModule> for CodeModule
[src]
pub fn partial_cmp(&self, other: &CodeModule) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for CodeModule
[src]
impl Send for CodeModule
[src]
impl Sync for CodeModule
[src]
impl Unpin for CodeModule
[src]
impl UnwindSafe for CodeModule
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,