Struct minidump::format::MINIDUMP_MEMORY_INFO[][src]

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: u32region_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

impl Clone for MINIDUMP_MEMORY_INFO[src]

pub fn clone(&self) -> MINIDUMP_MEMORY_INFO[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for MINIDUMP_MEMORY_INFO[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl SizeWith<Endian> for MINIDUMP_MEMORY_INFO[src]

pub fn size_with(ctx: &Endian) -> usize[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for MINIDUMP_MEMORY_INFO where
    MINIDUMP_MEMORY_INFO: 'a, 
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.