Struct minidump_writer::minidump_writer::MinidumpWriter
source · [−]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: Pid
blamed_thread: Pid
minidump_size_limit: Option<u64>
skip_stacks_if_mapping_unreferenced: bool
principal_mapping_address: Option<usize>
user_mapping_list: MappingList
app_memory: AppMemoryList
memory_blocks: Vec<MDMemoryDescriptor>
principal_mapping: Option<MappingInfo>
sanitize_stack: bool
crash_context: Option<CrashContext>
crashing_thread_context: CrashingThreadContext
Implementations
sourceimpl MinidumpWriter
impl MinidumpWriter
pub fn new(process: Pid, blamed_thread: Pid) -> Self
pub fn set_minidump_size_limit(&mut self, limit: u64) -> &mut Self
pub fn set_user_mapping_list(
&mut self,
user_mapping_list: MappingList
) -> &mut Self
pub fn set_principal_mapping_address(
&mut self,
principal_mapping_address: usize
) -> &mut Self
pub fn set_app_memory(&mut self, app_memory: AppMemoryList) -> &mut Self
pub fn set_crash_context(&mut self, crash_context: CrashContext) -> &mut Self
pub fn skip_stacks_if_mapping_unreferenced(&mut self) -> &mut Self
pub fn sanitize_stack(&mut self) -> &mut Self
Auto Trait Implementations
impl RefUnwindSafe for MinidumpWriter
impl Send for MinidumpWriter
impl !Sync for MinidumpWriter
impl Unpin for MinidumpWriter
impl UnwindSafe for MinidumpWriter
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