Struct minidump::format::MINIDUMP_MEMORY_INFO
source · [−]pub struct MINIDUMP_MEMORY_INFO {
pub base_address: u64,
pub allocation_base: u64,
pub allocation_protection: u32,
pub __alignment1: u32,
pub region_size: u64,
pub state: u32,
pub protection: u32,
pub _type: u32,
pub __alignment2: u32,
}
Expand description
Information about a memory region in a minidump
This struct matches the Microsoft struct of the same name.
Fields
base_address: u64
The base address of the region of pages
allocation_base: u64
The base address of a range of pages in this region
allocation_protection: u32
The memory protection when the region was initially allocated
See MemoryProtection
for valid values.
__alignment1: u32
region_size: u64
The size of the region in which all pages have identical attributes, in bytes
state: u32
The state of the pages in the region
See MemoryState
for valid values.
protection: u32
The access protection of the pages in the region
See MemoryProtection
for valid values.
_type: u32
The type of pages in the region
See MemoryType
for valid values.
__alignment2: u32
Trait Implementations
sourceimpl Clone for MINIDUMP_MEMORY_INFO
impl Clone for MINIDUMP_MEMORY_INFO
sourcefn clone(&self) -> MINIDUMP_MEMORY_INFO
fn clone(&self) -> MINIDUMP_MEMORY_INFO
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 MINIDUMP_MEMORY_INFO
impl Debug for MINIDUMP_MEMORY_INFO
sourceimpl PartialEq<MINIDUMP_MEMORY_INFO> for MINIDUMP_MEMORY_INFO
impl PartialEq<MINIDUMP_MEMORY_INFO> for MINIDUMP_MEMORY_INFO
sourcefn eq(&self, other: &MINIDUMP_MEMORY_INFO) -> bool
fn eq(&self, other: &MINIDUMP_MEMORY_INFO) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MINIDUMP_MEMORY_INFO) -> bool
fn ne(&self, other: &MINIDUMP_MEMORY_INFO) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MEMORY_INFO where
MINIDUMP_MEMORY_INFO: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MEMORY_INFO where
MINIDUMP_MEMORY_INFO: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(MINIDUMP_MEMORY_INFO, usize), <MINIDUMP_MEMORY_INFO as TryFromCtx<'a, Endian, [u8]>>::Error>
impl Eq for MINIDUMP_MEMORY_INFO
impl StructuralEq for MINIDUMP_MEMORY_INFO
impl StructuralPartialEq for MINIDUMP_MEMORY_INFO
Auto Trait Implementations
impl RefUnwindSafe for MINIDUMP_MEMORY_INFO
impl Send for MINIDUMP_MEMORY_INFO
impl Sync for MINIDUMP_MEMORY_INFO
impl Unpin for MINIDUMP_MEMORY_INFO
impl UnwindSafe for MINIDUMP_MEMORY_INFO
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more