Struct minidump::MinidumpModuleList
source · [−]pub struct MinidumpModuleList { /* private fields */ }
Expand description
A list of MinidumpModule
s contained in a Minidump
.
Implementations
sourceimpl MinidumpModuleList
impl MinidumpModuleList
sourcepub fn new() -> MinidumpModuleList
pub fn new() -> MinidumpModuleList
Return an empty MinidumpModuleList
.
sourcepub fn from_modules(modules: Vec<MinidumpModule>) -> MinidumpModuleList
pub fn from_modules(modules: Vec<MinidumpModule>) -> MinidumpModuleList
Create a MinidumpModuleList
from a list of MinidumpModule
s.
sourcepub fn main_module(&self) -> Option<&MinidumpModule>
pub fn main_module(&self) -> Option<&MinidumpModule>
Returns the module corresponding to the main executable.
sourcepub fn module_at_address(&self, address: u64) -> Option<&MinidumpModule>
pub fn module_at_address(&self, address: u64) -> Option<&MinidumpModule>
Return a MinidumpModule
whose address range covers address
.
sourcepub fn iter(&self) -> impl Iterator<Item = &MinidumpModule>
pub fn iter(&self) -> impl Iterator<Item = &MinidumpModule>
Iterate over the modules in arbitrary order.
sourcepub fn by_addr(&self) -> impl DoubleEndedIterator<Item = &MinidumpModule>
pub fn by_addr(&self) -> impl DoubleEndedIterator<Item = &MinidumpModule>
Iterate over the modules in order by memory address.
Trait Implementations
sourceimpl Clone for MinidumpModuleList
impl Clone for MinidumpModuleList
sourcefn clone(&self) -> MinidumpModuleList
fn clone(&self) -> MinidumpModuleList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MinidumpModuleList
impl Debug for MinidumpModuleList
sourceimpl Default for MinidumpModuleList
impl Default for MinidumpModuleList
sourceimpl<'a> MinidumpStream<'a> for MinidumpModuleList
impl<'a> MinidumpStream<'a> for MinidumpModuleList
Auto Trait Implementations
impl RefUnwindSafe for MinidumpModuleList
impl Send for MinidumpModuleList
impl Sync for MinidumpModuleList
impl Unpin for MinidumpModuleList
impl UnwindSafe for MinidumpModuleList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more