pub struct Report {
pub path: PathBuf,
pub blob_file_count: usize,
pub stale_blob_file_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
blob_file_count: usize
Blob file count
stale_blob_file_count: usize
Blob files 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
Number of stored blobs
stale_blobs: u64
Number 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