pub struct HotAppendReport {
pub rows_added: u64,
pub rows_replaced: u64,
pub blob_append_offset: u64,
pub blob_bytes_added: u64,
pub journal_bytes_added: u64,
}Expand description
What one HotArchive::append did. Deliberately the same three counts
AppendReport reports, so a caller can swap paths
without re-reading its own accounting.
Fields§
§rows_added: u64Index rows written by this append (one per chunk).
rows_replaced: u64Rows already in the journal that this append superseded, by
relative_path. Their blob bytes stay in the file as dead payload.
blob_append_offset: u64Byte offset the appended blob region started at.
blob_bytes_added: u64Blob payload bytes written (compressed or stored raw).
journal_bytes_added: u64Bytes the journal batch cost — the index-side price of this append.
Trait Implementations§
Source§impl Clone for HotAppendReport
impl Clone for HotAppendReport
Source§fn clone(&self) -> HotAppendReport
fn clone(&self) -> HotAppendReport
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 HotAppendReport
impl Debug for HotAppendReport
Source§impl Default for HotAppendReport
impl Default for HotAppendReport
Source§fn default() -> HotAppendReport
fn default() -> HotAppendReport
Returns the “default value” for a type. Read more
impl Eq for HotAppendReport
Source§impl PartialEq for HotAppendReport
impl PartialEq for HotAppendReport
impl StructuralPartialEq for HotAppendReport
Auto Trait Implementations§
impl Freeze for HotAppendReport
impl RefUnwindSafe for HotAppendReport
impl Send for HotAppendReport
impl Sync for HotAppendReport
impl Unpin for HotAppendReport
impl UnsafeUnpin for HotAppendReport
impl UnwindSafe for HotAppendReport
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.