pub struct RssPeakSampler { /* private fields */ }Expand description
Background thread polls RSS while an export runs so peak_rss_mb reflects in-process highs,
not only values at start/end (which often miss parallel workers’ allocations).
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RssPeakSampler
impl !UnwindSafe for RssPeakSampler
impl Freeze for RssPeakSampler
impl Send for RssPeakSampler
impl Sync for RssPeakSampler
impl Unpin for RssPeakSampler
impl UnsafeUnpin for RssPeakSampler
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