Struct minidump::MinidumpUnloadedModule [−][src]
pub struct MinidumpUnloadedModule { pub raw: MINIDUMP_UNLOADED_MODULE, pub name: String, }
Expand description
An executable or shared library that was once loaded into the process, but was unloaded
by the time the Minidump
was written.
Fields
raw: MINIDUMP_UNLOADED_MODULE
The MINIDUMP_UNLOADED_MODULE
direct from the minidump file.
name: String
The module name. This is stored separately in the minidump.
Implementations
impl MinidumpUnloadedModule
[src]
impl MinidumpUnloadedModule
[src]pub fn new(base: u64, size: u32, name: &str) -> MinidumpUnloadedModule
[src]
pub fn new(base: u64, size: u32, name: &str) -> MinidumpUnloadedModule
[src]Create a MinidumpUnloadedModule
with some basic info.
Useful for testing.
pub fn read(
raw: MINIDUMP_UNLOADED_MODULE,
bytes: &[u8],
endian: Endian
) -> Result<MinidumpUnloadedModule, Error>
[src]
pub fn read(
raw: MINIDUMP_UNLOADED_MODULE,
bytes: &[u8],
endian: Endian
) -> Result<MinidumpUnloadedModule, Error>
[src]Read additional data to construct a MinidumpUnloadedModule
from bytes
using the information
from the module list in raw
.
Trait Implementations
impl Clone for MinidumpUnloadedModule
[src]
impl Clone for MinidumpUnloadedModule
[src]fn clone(&self) -> MinidumpUnloadedModule
[src]
fn clone(&self) -> MinidumpUnloadedModule
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for MinidumpUnloadedModule
[src]
impl Debug for MinidumpUnloadedModule
[src]impl Module for MinidumpUnloadedModule
[src]
impl Module for MinidumpUnloadedModule
[src]fn base_address(&self) -> u64
[src]
fn base_address(&self) -> u64
[src]The base address of this code module as it was loaded by the process.
fn code_identifier(&self) -> Cow<'_, str>
[src]
fn code_identifier(&self) -> Cow<'_, str>
[src]An identifying string used to discriminate between multiple versions and builds of the same code module. This may contain a uuid, timestamp, version number, or any combination of this or other information, in an implementation-defined format. Read more
fn debug_file(&self) -> Option<Cow<'_, str>>
[src]
fn debug_file(&self) -> Option<Cow<'_, str>>
[src]The filename containing debugging information associated with the 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. Read more
fn debug_identifier(&self) -> Option<Cow<'_, str>>
[src]
fn debug_identifier(&self) -> Option<Cow<'_, str>>
[src]An identifying string similar to code_identifier, but identifies a 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. Read more
Auto Trait Implementations
impl RefUnwindSafe for MinidumpUnloadedModule
impl Send for MinidumpUnloadedModule
impl Sync for MinidumpUnloadedModule
impl Unpin for MinidumpUnloadedModule
impl UnwindSafe for MinidumpUnloadedModule
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more