pub struct RequestMemoryDumpBuilder { /* private fields */ }Expand description
Builder for RequestMemoryDump.
Implementations§
Source§impl RequestMemoryDumpBuilder
impl RequestMemoryDumpBuilder
Sourcepub fn deterministic<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn deterministic<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Enables more deterministic results by forcing garbage collection
Sourcepub fn level_of_detail<VALUE: Into<MemoryDumpLevelOfDetail>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn level_of_detail<VALUE: Into<MemoryDumpLevelOfDetail>>( &mut self, value: VALUE, ) -> &mut Self
Specifies level of details in memory dump. Defaults to “detailed”.
Sourcepub fn build(&self) -> Result<RequestMemoryDump, RequestMemoryDumpBuilderError>
pub fn build(&self) -> Result<RequestMemoryDump, RequestMemoryDumpBuilderError>
Trait Implementations§
Source§impl Clone for RequestMemoryDumpBuilder
impl Clone for RequestMemoryDumpBuilder
Source§fn clone(&self) -> RequestMemoryDumpBuilder
fn clone(&self) -> RequestMemoryDumpBuilder
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 RequestMemoryDumpBuilder
impl RefUnwindSafe for RequestMemoryDumpBuilder
impl Send for RequestMemoryDumpBuilder
impl Sync for RequestMemoryDumpBuilder
impl Unpin for RequestMemoryDumpBuilder
impl UnsafeUnpin for RequestMemoryDumpBuilder
impl UnwindSafe for RequestMemoryDumpBuilder
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