pub struct SparseStats {
pub arena_bytes: usize,
pub base_bytes: usize,
pub records: usize,
pub installed_bytes_total: u64,
pub installed_records_total: u64,
pub resets: u32,
pub referrer_generation: u32,
}Expand description
Counters for the host’s budget decision and for the report.
Fields§
§arena_bytes: usize§base_bytes: usize§records: usize§installed_bytes_total: u64§installed_records_total: u64§resets: u32§referrer_generation: u32Bumped whenever a declared inverse referrer is installed (or dropped by a reset): an index built by scanning the arena for those records is stale once this moves.
Trait Implementations§
Source§impl Clone for SparseStats
impl Clone for SparseStats
Source§fn clone(&self) -> SparseStats
fn clone(&self) -> SparseStats
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 moreSource§impl Debug for SparseStats
impl Debug for SparseStats
Source§impl Default for SparseStats
impl Default for SparseStats
Source§fn default() -> SparseStats
fn default() -> SparseStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for SparseStats
impl PartialEq for SparseStats
impl Copy for SparseStats
impl Eq for SparseStats
impl StructuralPartialEq for SparseStats
Auto Trait Implementations§
impl Freeze for SparseStats
impl RefUnwindSafe for SparseStats
impl Send for SparseStats
impl Sync for SparseStats
impl Unpin for SparseStats
impl UnwindSafe for SparseStats
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