pub struct ResultCompactionPlan {
pub compact_records: Vec<CompactResultRecord>,
pub direct_slots: Vec<u32>,
pub full_capacity_bytes: u64,
pub compact_bytes: u64,
pub direct_bytes: u64,
pub selected_readback_bytes: u64,
pub avoided_readback_bytes: u64,
pub avoided_readback_basis_points: u32,
}Expand description
Compact result readback plan.
Fields§
§compact_records: Vec<CompactResultRecord>Records copied into the compact slab.
direct_slots: Vec<u32>Output slots left as direct readback ranges.
full_capacity_bytes: u64Total allocated/readback capacity across all output slots.
compact_bytes: u64Total compact slab bytes.
direct_bytes: u64Total direct readback bytes.
selected_readback_bytes: u64Total bytes actually selected for readback after compaction planning.
avoided_readback_bytes: u64Bytes avoided compared with reading full output capacities.
avoided_readback_basis_points: u32Avoided readback as floor basis points of full capacity.
Trait Implementations§
Source§impl Clone for ResultCompactionPlan
impl Clone for ResultCompactionPlan
Source§fn clone(&self) -> ResultCompactionPlan
fn clone(&self) -> ResultCompactionPlan
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 ResultCompactionPlan
impl Debug for ResultCompactionPlan
impl Eq for ResultCompactionPlan
Source§impl PartialEq for ResultCompactionPlan
impl PartialEq for ResultCompactionPlan
Source§fn eq(&self, other: &ResultCompactionPlan) -> bool
fn eq(&self, other: &ResultCompactionPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResultCompactionPlan
Auto Trait Implementations§
impl Freeze for ResultCompactionPlan
impl RefUnwindSafe for ResultCompactionPlan
impl Send for ResultCompactionPlan
impl Sync for ResultCompactionPlan
impl Unpin for ResultCompactionPlan
impl UnsafeUnpin for ResultCompactionPlan
impl UnwindSafe for ResultCompactionPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.