pub struct MinidumpWriter {
    pub process_id: Pid,
    pub blamed_thread: Pid,
    pub minidump_size_limit: Option<u64>,
    pub skip_stacks_if_mapping_unreferenced: bool,
    pub principal_mapping_address: Option<usize>,
    pub user_mapping_list: MappingList,
    pub app_memory: AppMemoryList,
    pub memory_blocks: Vec<MDMemoryDescriptor>,
    pub principal_mapping: Option<MappingInfo>,
    pub sanitize_stack: bool,
    pub crash_context: Option<CrashContext>,
    pub crashing_thread_context: CrashingThreadContext,
}

Fields

process_id: Pidblamed_thread: Pidminidump_size_limit: Option<u64>skip_stacks_if_mapping_unreferenced: boolprincipal_mapping_address: Option<usize>user_mapping_list: MappingListapp_memory: AppMemoryListmemory_blocks: Vec<MDMemoryDescriptor>principal_mapping: Option<MappingInfo>sanitize_stack: boolcrash_context: Option<CrashContext>crashing_thread_context: CrashingThreadContext

Implementations

Generates a minidump and writes to the destination provided. Returns the in-memory version of the minidump as well.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.