#[repr(C)]pub struct _dr_memory_dump_spec_t {
pub size: usize,
pub flags: dr_memory_dump_flags_t,
pub label: *const c_char,
pub ldmp_path: *mut c_char,
pub ldmp_path_size: usize,
}Expand description
Indicates the type of memory dump for dr_create_memory_dump().
Fields§
§size: usizeThe size of this structure. Set this to sizeof(dr_memory_dump_spec_t).
flags: dr_memory_dump_flags_tThe type of memory dump requested.
label: *const c_charThis field only applies to DR_MEMORY_DUMP_LDMP. This string is stored inside the ldmp as the reason for the dump.
ldmp_path: *mut c_charThis field only applies to DR_MEMORY_DUMP_LDMP. This is an optional output field that, if non-NULL, will be written with the path to the created file.
ldmp_path_size: usizeThis field only applies to DR_MEMORY_DUMP_LDMP. This is the maximum size, in bytes, of ldmp_path.
Trait Implementations§
Source§impl Clone for _dr_memory_dump_spec_t
impl Clone for _dr_memory_dump_spec_t
Source§fn clone(&self) -> _dr_memory_dump_spec_t
fn clone(&self) -> _dr_memory_dump_spec_t
Returns a duplicate 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 _dr_memory_dump_spec_t
impl Debug for _dr_memory_dump_spec_t
impl Copy for _dr_memory_dump_spec_t
Auto Trait Implementations§
impl Freeze for _dr_memory_dump_spec_t
impl RefUnwindSafe for _dr_memory_dump_spec_t
impl !Send for _dr_memory_dump_spec_t
impl !Sync for _dr_memory_dump_spec_t
impl Unpin for _dr_memory_dump_spec_t
impl UnsafeUnpin for _dr_memory_dump_spec_t
impl UnwindSafe for _dr_memory_dump_spec_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more