Struct minidump::MinidumpUnloadedModuleList
source · [−]pub struct MinidumpUnloadedModuleList { /* private fields */ }
Expand description
A list of MinidumpUnloadedModule
s contained in a Minidump
.
Implementations
sourceimpl MinidumpUnloadedModuleList
impl MinidumpUnloadedModuleList
sourcepub fn new() -> MinidumpUnloadedModuleList
pub fn new() -> MinidumpUnloadedModuleList
Return an empty MinidumpModuleList
.
sourcepub fn from_modules(
modules: Vec<MinidumpUnloadedModule>
) -> MinidumpUnloadedModuleList
pub fn from_modules(
modules: Vec<MinidumpUnloadedModule>
) -> MinidumpUnloadedModuleList
Create a MinidumpModuleList
from a list of MinidumpModule
s.
sourcepub fn modules_at_address(
&self,
address: u64
) -> impl Iterator<Item = &MinidumpUnloadedModule>
pub fn modules_at_address(
&self,
address: u64
) -> impl Iterator<Item = &MinidumpUnloadedModule>
Return an iterator of MinidumpUnloadedModules
whose address range covers address
.
sourcepub fn iter(&self) -> impl Iterator<Item = &MinidumpUnloadedModule>
pub fn iter(&self) -> impl Iterator<Item = &MinidumpUnloadedModule>
Iterate over the modules in arbitrary order.
sourcepub fn by_addr(&self) -> impl Iterator<Item = &MinidumpUnloadedModule>
pub fn by_addr(&self) -> impl Iterator<Item = &MinidumpUnloadedModule>
Iterate over the modules in order by memory address.
Trait Implementations
sourceimpl Clone for MinidumpUnloadedModuleList
impl Clone for MinidumpUnloadedModuleList
sourcefn clone(&self) -> MinidumpUnloadedModuleList
fn clone(&self) -> MinidumpUnloadedModuleList
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 MinidumpUnloadedModuleList
impl Debug for MinidumpUnloadedModuleList
sourceimpl Default for MinidumpUnloadedModuleList
impl Default for MinidumpUnloadedModuleList
sourceimpl<'a> MinidumpStream<'a> for MinidumpUnloadedModuleList
impl<'a> MinidumpStream<'a> for MinidumpUnloadedModuleList
sourceconst STREAM_TYPE: u32 = 14u32
const STREAM_TYPE: u32 = 14u32
The stream type constant used in the md::MDRawDirectory
entry.
This is usually a MINIDUMP_STREAM_TYPE but it’s left as a u32
to allow external projects to add support for their own custom streams. Read more
Auto Trait Implementations
impl RefUnwindSafe for MinidumpUnloadedModuleList
impl Send for MinidumpUnloadedModuleList
impl Sync for MinidumpUnloadedModuleList
impl Unpin for MinidumpUnloadedModuleList
impl UnwindSafe for MinidumpUnloadedModuleList
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more