pub struct Report {
pub path: PathBuf,
pub segment_count: usize,
pub stale_segment_count: usize,
pub total_bytes: u64,
pub stale_bytes: u64,
pub total_blobs: u64,
pub stale_blobs: u64,
}
Expand description
Statistics report for garbage collection
Fields§
§path: PathBuf
Path of value log
segment_count: usize
Segment count
stale_segment_count: usize
Segments that have 100% stale blobs
total_bytes: u64
Amount of stored bytes
stale_bytes: u64
Amount of bytes that could be freed
total_blobs: u64
Amount of stored blobs
stale_blobs: u64
Amount of blobs that could be freed
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcReport
impl RefUnwindSafe for GcReport
impl Send for GcReport
impl Sync for GcReport
impl Unpin for GcReport
impl UnwindSafe for GcReport
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