pub struct GcResult {
pub objects_removed: u64,
pub objects_bytes: u64,
pub images_pruned: u64,
pub streams_pruned: u64,
}Expand description
Statistics from a garbage collection operation.
Returned by Repository::gc to report what was (or would be) removed.
Fields§
§objects_removed: u64Number of unreferenced objects removed (or that would be removed)
objects_bytes: u64Total bytes of object data removed (or that would be removed)
images_pruned: u64Number of broken symlinks removed in images/
streams_pruned: u64Number of broken symlinks removed in streams/
Trait Implementations§
impl Eq for GcResult
impl StructuralPartialEq for GcResult
Auto Trait Implementations§
impl Freeze for GcResult
impl RefUnwindSafe for GcResult
impl Send for GcResult
impl Sync for GcResult
impl Unpin for GcResult
impl UnwindSafe for GcResult
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