pub struct ReplicationBatchScratch { /* private fields */ }Expand description
Caller-owned reusable output storage for viewer batch planning.
Plan slots and their entity buffers grow to the largest observed batch and are retained for later calls. This storage contains no cross-client send or acknowledgement state.
Implementations§
Source§impl ReplicationBatchScratch
impl ReplicationBatchScratch
Sourcepub fn retained_plan_slots(&self) -> usize
pub fn retained_plan_slots(&self) -> usize
Number of plan slots retained for reuse.
Sourcepub fn retained_entity_capacity(&self) -> usize
pub fn retained_entity_capacity(&self) -> usize
Total selected-entity capacity retained across all plan slots.
Sourcepub fn retained_query_cache_slots(&self) -> usize
pub fn retained_query_cache_slots(&self) -> usize
Query-range cache entries retained for later configured batch calls.
Sourcepub fn retained_query_cache_candidate_capacity(&self) -> usize
pub fn retained_query_cache_candidate_capacity(&self) -> usize
Candidate-handle capacity retained across query-range cache entries.
Sourcepub fn view(&self) -> ReplicationBatchView<'_>
pub fn view(&self) -> ReplicationBatchView<'_>
Returns the active result from the most recent planning call.
Trait Implementations§
Source§impl Clone for ReplicationBatchScratch
impl Clone for ReplicationBatchScratch
Source§fn clone(&self) -> ReplicationBatchScratch
fn clone(&self) -> ReplicationBatchScratch
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 moreSource§impl Debug for ReplicationBatchScratch
impl Debug for ReplicationBatchScratch
Source§impl Default for ReplicationBatchScratch
impl Default for ReplicationBatchScratch
Source§fn default() -> ReplicationBatchScratch
fn default() -> ReplicationBatchScratch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplicationBatchScratch
impl RefUnwindSafe for ReplicationBatchScratch
impl Send for ReplicationBatchScratch
impl Sync for ReplicationBatchScratch
impl Unpin for ReplicationBatchScratch
impl UnsafeUnpin for ReplicationBatchScratch
impl UnwindSafe for ReplicationBatchScratch
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