[−][src]Struct minidump::MinidumpModuleList
A list of MinidumpModule
s contained in a Minidump
.
Implementations
impl MinidumpModuleList
[src]
pub fn new() -> MinidumpModuleList
[src]
Return an empty MinidumpModuleList
.
pub fn from_modules(modules: Vec<MinidumpModule>) -> MinidumpModuleList
[src]
Create a MinidumpModuleList
from a list of MinidumpModule
s.
pub fn main_module(&self) -> Option<&MinidumpModule>
[src]
Returns the module corresponding to the main executable.
pub fn module_at_address(&self, address: u64) -> Option<&MinidumpModule>
[src]
Return a MinidumpModule
whose address range covers address
.
pub fn iter<'a>(&'a self) -> Modules<'a>ⓘNotable traits for Modules<'a>
impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
[src]
Notable traits for Modules<'a>
impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
Iterate over the modules in arbitrary order.
pub fn by_addr<'a>(&'a self) -> Modules<'a>ⓘNotable traits for Modules<'a>
impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
[src]
Notable traits for Modules<'a>
impl<'a> Iterator for Modules<'a> type Item = &'a MinidumpModule;
Iterate over the modules in order by memory address.
pub fn print<T: Write>(&self, f: &mut T) -> Result<()>
[src]
Write a human-readable description of this MinidumpModuleList
to f
.
This is very verbose, it is the format used by minidump_dump
.
Trait Implementations
impl Clone for MinidumpModuleList
[src]
fn clone(&self) -> MinidumpModuleList
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> MinidumpStream<'a> for MinidumpModuleList
[src]
const STREAM_TYPE: MINIDUMP_STREAM_TYPE
[src]
fn read(
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpModuleList, Error>
[src]
bytes: &'a [u8],
all: &'a [u8],
endian: Endian
) -> Result<MinidumpModuleList, Error>
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
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,