Struct minidump_writer::minidump_format::MDMemoryInfo
source · pub struct MDMemoryInfo {
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§
source§impl Clone for MINIDUMP_MEMORY_INFO
impl Clone for MINIDUMP_MEMORY_INFO
source§fn clone(&self) -> MINIDUMP_MEMORY_INFO
fn clone(&self) -> MINIDUMP_MEMORY_INFO
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MINIDUMP_MEMORY_INFO
impl Debug for MINIDUMP_MEMORY_INFO
source§impl PartialEq for MINIDUMP_MEMORY_INFO
impl PartialEq for MINIDUMP_MEMORY_INFO
source§fn 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 ==
.source§impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_MEMORY_INFOwhere
MINIDUMP_MEMORY_INFO: 'a,
impl<'a> TryFromCtx<'a, Endian> for MINIDUMP_MEMORY_INFOwhere
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>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_MEMORY_INFO
impl<'a> TryIntoCtx<Endian> for &'a MINIDUMP_MEMORY_INFO
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <&'a MINIDUMP_MEMORY_INFO as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for MINIDUMP_MEMORY_INFO
impl TryIntoCtx<Endian> for MINIDUMP_MEMORY_INFO
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <MINIDUMP_MEMORY_INFO as TryIntoCtx<Endian>>::Error>
impl Eq for MINIDUMP_MEMORY_INFO
impl StructuralPartialEq for MINIDUMP_MEMORY_INFO
Auto Trait Implementations§
impl Freeze for MINIDUMP_MEMORY_INFO
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more