pub struct ChunkStat<Chkp> {
pub chunk_id: ChunkId,
pub records_count: u64,
pub global_start: u64,
pub global_end: u64,
pub size: u64,
pub log_state: Chkp,
}Expand description
Statistics about a single chunk in the WAL.
Fields§
§chunk_id: ChunkIdUnique identifier for this chunk.
records_count: u64Number of records stored in this chunk.
global_start: u64Global offset of the first record in this chunk.
global_end: u64Global offset after the last record in this chunk.
size: u64Size of the chunk in bytes.
log_state: ChkpCheckpoint stored for this chunk.
Trait Implementations§
Auto Trait Implementations§
impl<Chkp> Freeze for ChunkStat<Chkp>where
Chkp: Freeze,
impl<Chkp> RefUnwindSafe for ChunkStat<Chkp>where
Chkp: RefUnwindSafe,
impl<Chkp> Send for ChunkStat<Chkp>where
Chkp: Send,
impl<Chkp> Sync for ChunkStat<Chkp>where
Chkp: Sync,
impl<Chkp> Unpin for ChunkStat<Chkp>where
Chkp: Unpin,
impl<Chkp> UnsafeUnpin for ChunkStat<Chkp>where
Chkp: UnsafeUnpin,
impl<Chkp> UnwindSafe for ChunkStat<Chkp>where
Chkp: UnwindSafe,
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