pub struct PreflateStats {
pub deflate_compressed_size: u64,
pub zstd_compressed_size: u64,
pub uncompressed_size: u64,
pub overhead_bytes: u64,
pub hash_algorithm: HashAlgorithm,
pub zstd_baseline_size: u64,
}Expand description
Statistics about the preflate process
Fields§
§deflate_compressed_size: u64§zstd_compressed_size: u64§uncompressed_size: u64§overhead_bytes: u64§hash_algorithm: HashAlgorithm§zstd_baseline_size: u64Trait Implementations§
Source§impl Clone for PreflateStats
impl Clone for PreflateStats
Source§fn clone(&self) -> PreflateStats
fn clone(&self) -> PreflateStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreflateStats
impl Debug for PreflateStats
Source§impl Default for PreflateStats
impl Default for PreflateStats
Source§fn default() -> PreflateStats
fn default() -> PreflateStats
Returns the “default value” for a type. Read more
impl Copy for PreflateStats
Auto Trait Implementations§
impl Freeze for PreflateStats
impl RefUnwindSafe for PreflateStats
impl Send for PreflateStats
impl Sync for PreflateStats
impl Unpin for PreflateStats
impl UnwindSafe for PreflateStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DefaultBoxed for Twhere
T: Default,
impl<T> DefaultBoxed for Twhere
T: Default,
Source§unsafe fn default_in_place(ptr: *mut T)
unsafe fn default_in_place(ptr: *mut T)
Fill the given memory location with default value. Read more
Source§fn default_boxed() -> Box<Self>where
Self: Sized,
fn default_boxed() -> Box<Self>where
Self: Sized,
Create a boxed instance with default value for each field.