pub struct OpenTransientTracker { /* private fields */ }Expand description
Peak transient memory of one open: bytes currently leased and the high-water mark of that sum.
Implementations§
Source§impl OpenTransientTracker
impl OpenTransientTracker
Sourcepub fn peak_bytes(&self) -> u64
pub fn peak_bytes(&self) -> u64
The most bytes that were ever leased at once.
Trait Implementations§
Source§impl Debug for OpenTransientTracker
impl Debug for OpenTransientTracker
Auto Trait Implementations§
impl !Freeze for OpenTransientTracker
impl Forget for OpenTransientTracker
impl Move for OpenTransientTracker
impl RefUnwindSafe for OpenTransientTracker
impl Send for OpenTransientTracker
impl Sync for OpenTransientTracker
impl Unpin for OpenTransientTracker
impl UnsafeUnpin for OpenTransientTrackerwhere
Align8<u64>: UnsafeUnpin,
impl UnwindSafe for OpenTransientTrackerwhere
Align8<u64>: UnwindSafe,
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