pub struct TakeHeapSnapshotParamsBuilder { /* private fields */ }Implementations§
Source§impl TakeHeapSnapshotParamsBuilder
impl TakeHeapSnapshotParamsBuilder
Sourcepub fn report_progress(self, report_progress: bool) -> Self
pub fn report_progress(self, report_progress: bool) -> Self
If true ‘reportHeapSnapshotProgress’ events will be generated while snapshot is being taken.
Sourcepub fn treat_global_objects_as_roots(
self,
treat_global_objects_as_roots: bool,
) -> Self
pub fn treat_global_objects_as_roots( self, treat_global_objects_as_roots: bool, ) -> Self
If true, a raw snapshot without artificial roots will be generated. Deprecated in favor of ‘exposeInternals’.
Sourcepub fn capture_numeric_value(self, capture_numeric_value: bool) -> Self
pub fn capture_numeric_value(self, capture_numeric_value: bool) -> Self
If true, numerical values are included in the snapshot
Sourcepub fn expose_internals(self, expose_internals: bool) -> Self
pub fn expose_internals(self, expose_internals: bool) -> Self
If true, exposes internals of the snapshot.
pub fn build(self) -> TakeHeapSnapshotParams
Trait Implementations§
Source§impl Default for TakeHeapSnapshotParamsBuilder
impl Default for TakeHeapSnapshotParamsBuilder
Source§fn default() -> TakeHeapSnapshotParamsBuilder
fn default() -> TakeHeapSnapshotParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TakeHeapSnapshotParamsBuilder
impl RefUnwindSafe for TakeHeapSnapshotParamsBuilder
impl Send for TakeHeapSnapshotParamsBuilder
impl Sync for TakeHeapSnapshotParamsBuilder
impl Unpin for TakeHeapSnapshotParamsBuilder
impl UnsafeUnpin for TakeHeapSnapshotParamsBuilder
impl UnwindSafe for TakeHeapSnapshotParamsBuilder
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