pub struct MemoryPageSummary { /* private fields */ }Expand description
Bounded page-extent observations for one callback role.
Absolute page extents are retained only for the latest normal completion; they are never totaled. Maximums describe observed start-to-end page growth, which is not exclusive allocation attribution for async work.
Implementations§
Source§impl MemoryPageSummary
impl MemoryPageSummary
Sourcepub const fn latest(self) -> Option<MemoryPageSample>
pub const fn latest(self) -> Option<MemoryPageSample>
Return start/end page extents for the latest normal completion.
Sourcepub const fn maximum_wasm_growth_pages(self) -> Option<u64>
pub const fn maximum_wasm_growth_pages(self) -> Option<u64>
Return the largest observed Wasm-memory page growth in one sample.
Sourcepub const fn maximum_stable_growth_pages(self) -> Option<u64>
pub const fn maximum_stable_growth_pages(self) -> Option<u64>
Return the largest observed stable-memory page growth in one sample.
Trait Implementations§
Source§impl Clone for MemoryPageSummary
impl Clone for MemoryPageSummary
Source§fn clone(&self) -> MemoryPageSummary
fn clone(&self) -> MemoryPageSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryPageSummary
Source§impl Debug for MemoryPageSummary
impl Debug for MemoryPageSummary
impl Eq for MemoryPageSummary
Source§impl PartialEq for MemoryPageSummary
impl PartialEq for MemoryPageSummary
impl StructuralPartialEq for MemoryPageSummary
Auto Trait Implementations§
impl Freeze for MemoryPageSummary
impl RefUnwindSafe for MemoryPageSummary
impl Send for MemoryPageSummary
impl Sync for MemoryPageSummary
impl Unpin for MemoryPageSummary
impl UnsafeUnpin for MemoryPageSummary
impl UnwindSafe for MemoryPageSummary
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