pub struct CompressionReport {
pub total_files: u64,
pub compressed_files: u64,
pub uncompressed_files: u64,
pub total_dirs: u64,
pub total_bytes_in: u64,
pub total_bytes_out: u64,
pub compressed_bytes: u64,
pub uncompressed_bytes: u64,
pub compression_ratio: f32,
pub chunks: u64,
pub files_failed: u64,
}Fields§
§total_files: u64§compressed_files: u64§uncompressed_files: u64§total_dirs: u64§total_bytes_in: u64§total_bytes_out: u64§compressed_bytes: u64§uncompressed_bytes: u64§compression_ratio: f32§chunks: u64§files_failed: u64Files that the walk enumerated but whose bytes never reached a committed
chunk (open/read failed and the file was silently dropped). Derived as
total_files - (compressed_files + uncompressed_files). A green compress
surface REQUIRES files_failed == 0 — see compress_reporting.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompressionReport
impl RefUnwindSafe for CompressionReport
impl Send for CompressionReport
impl Sync for CompressionReport
impl Unpin for CompressionReport
impl UnsafeUnpin for CompressionReport
impl UnwindSafe for CompressionReport
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