pub struct ReplicationBudget {
pub max_entities: usize,
pub max_bytes: usize,
pub estimated_entity_bytes: usize,
}Expand description
Per-client replication budget.
Fields§
§max_entities: usizeMaximum entities to include in a frame.
max_bytes: usizeEstimated byte budget for a frame.
estimated_entity_bytes: usizeEstimated bytes charged per selected entity by simple planners.
Trait Implementations§
Source§impl Clone for ReplicationBudget
impl Clone for ReplicationBudget
Source§fn clone(&self) -> ReplicationBudget
fn clone(&self) -> ReplicationBudget
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 ReplicationBudget
Source§impl Debug for ReplicationBudget
impl Debug for ReplicationBudget
Source§impl Default for ReplicationBudget
impl Default for ReplicationBudget
impl Eq for ReplicationBudget
Source§impl PartialEq for ReplicationBudget
impl PartialEq for ReplicationBudget
impl StructuralPartialEq for ReplicationBudget
Auto Trait Implementations§
impl Freeze for ReplicationBudget
impl RefUnwindSafe for ReplicationBudget
impl Send for ReplicationBudget
impl Sync for ReplicationBudget
impl Unpin for ReplicationBudget
impl UnsafeUnpin for ReplicationBudget
impl UnwindSafe for ReplicationBudget
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