Skip to main content

ReplicationBatchStats

Struct ReplicationBatchStats 

Source
pub struct ReplicationBatchStats {
Show 20 fields pub viewers: usize, pub candidates: usize, pub considered: usize, pub selected: usize, pub unexamined_after_budget: usize, pub estimated_bytes: usize, pub grid_queries: usize, pub occupied_queries: usize, pub grid_cells_probed: usize, pub occupied_cells_scanned: usize, pub matched_cells: usize, pub candidate_capacity_max: usize, pub dedup_capacity_max: usize, pub matching_cell_capacity_max: usize, pub priority_capacity_max: usize, pub unique_query_ranges: usize, pub reused_query_ranges: usize, pub cached_candidate_handles: usize, pub query_cache_capacity_max: usize, pub query_cache_candidate_capacity_max: usize,
}
Expand description

Aggregated work and retained-capacity signals from one viewer batch.

Fields§

§viewers: usize

Viewer queries planned in input order.

§candidates: usize

Spatial candidates returned across all viewers.

§considered: usize

Candidate records considered after stale-handle filtering.

§selected: usize

Entities selected across all plans.

§unexamined_after_budget: usize

Spatial candidates left unexamined after a first-fit budget filled.

§estimated_bytes: usize

Estimated payload bytes across all plans.

§grid_queries: usize

Queries that probed the regular cell grid.

§occupied_queries: usize

Queries that scanned occupied cells.

§grid_cells_probed: usize

Grid cells probed across the batch.

§occupied_cells_scanned: usize

Occupied cells scanned across the batch.

§matched_cells: usize

Cells intersecting viewer query bounds across the batch.

§candidate_capacity_max: usize

Largest retained candidate-handle capacity.

§dedup_capacity_max: usize

Largest retained candidate-deduplication capacity.

§matching_cell_capacity_max: usize

Largest retained matched-cell capacity.

§priority_capacity_max: usize

Largest retained priority candidate capacity.

§unique_query_ranges: usize

Distinct quantized AOI ranges observed in the batch.

§reused_query_ranges: usize

Viewer queries served from a within-call candidate cache.

§cached_candidate_handles: usize

Candidate handles copied into reusable repeated-range cache entries.

§query_cache_capacity_max: usize

Query-range cache entries retained for later batch calls.

§query_cache_candidate_capacity_max: usize

Candidate-handle capacity retained across query cache entries.

Implementations§

Source§

impl ReplicationBatchStats

Source

pub fn merge(&mut self, other: Self)

Merges another deterministic batch partition into this report.

Trait Implementations§

Source§

impl Clone for ReplicationBatchStats

Source§

fn clone(&self) -> ReplicationBatchStats

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ReplicationBatchStats

Source§

impl Debug for ReplicationBatchStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ReplicationBatchStats

Source§

fn default() -> ReplicationBatchStats

Returns the “default value” for a type. Read more
Source§

impl Eq for ReplicationBatchStats

Source§

impl PartialEq for ReplicationBatchStats

Source§

fn eq(&self, other: &ReplicationBatchStats) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ReplicationBatchStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.