pub struct StopTrackingHeapObjectsBuilder { /* private fields */ }Expand description
Builder for StopTrackingHeapObjects.
Implementations§
Source§impl StopTrackingHeapObjectsBuilder
impl StopTrackingHeapObjectsBuilder
Sourcepub fn report_progress<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn report_progress<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true ‘reportHeapSnapshotProgress’ events will be generated while snapshot is being taken when the tracking is stopped.
Sourcepub fn treat_global_objects_as_roots<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn treat_global_objects_as_roots<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Deprecated in favor of exposeInternals.
Sourcepub fn capture_numeric_value<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn capture_numeric_value<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
If true, numerical values are included in the snapshot
Sourcepub fn expose_internals<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn expose_internals<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, exposes internals of the snapshot.
Sourcepub fn build(
&self,
) -> Result<StopTrackingHeapObjects, StopTrackingHeapObjectsBuilderError>
pub fn build( &self, ) -> Result<StopTrackingHeapObjects, StopTrackingHeapObjectsBuilderError>
Trait Implementations§
Source§impl Clone for StopTrackingHeapObjectsBuilder
impl Clone for StopTrackingHeapObjectsBuilder
Source§fn clone(&self) -> StopTrackingHeapObjectsBuilder
fn clone(&self) -> StopTrackingHeapObjectsBuilder
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 moreAuto Trait Implementations§
impl Freeze for StopTrackingHeapObjectsBuilder
impl RefUnwindSafe for StopTrackingHeapObjectsBuilder
impl Send for StopTrackingHeapObjectsBuilder
impl Sync for StopTrackingHeapObjectsBuilder
impl Unpin for StopTrackingHeapObjectsBuilder
impl UnsafeUnpin for StopTrackingHeapObjectsBuilder
impl UnwindSafe for StopTrackingHeapObjectsBuilder
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