Struct conserve::backup::BackupStats
source · pub struct BackupStats {Show 23 fields
pub files: usize,
pub symlinks: usize,
pub directories: usize,
pub unknown_kind: usize,
pub unmodified_files: usize,
pub modified_files: usize,
pub new_files: usize,
pub replaced_damaged_blocks: usize,
pub deduplicated_bytes: u64,
pub uncompressed_bytes: u64,
pub compressed_bytes: u64,
pub deduplicated_blocks: usize,
pub written_blocks: usize,
pub combined_blocks: usize,
pub empty_files: usize,
pub small_combined_files: usize,
pub single_block_files: usize,
pub multi_block_files: usize,
pub errors: usize,
pub elapsed: Duration,
pub read_blocks: usize,
pub read_blocks_uncompressed_bytes: usize,
pub read_blocks_compressed_bytes: usize,
}
Fields§
§files: usize
§symlinks: usize
§directories: usize
§unknown_kind: usize
§unmodified_files: usize
§modified_files: usize
§new_files: usize
§replaced_damaged_blocks: usize
Files that were previously stored and that have been stored again because some of their blocks were damaged.
deduplicated_bytes: u64
Bytes that matched an existing block.
uncompressed_bytes: u64
Bytes that were stored as new blocks, before compression.
compressed_bytes: u64
§deduplicated_blocks: usize
§written_blocks: usize
§combined_blocks: usize
Blocks containing combined small files.
empty_files: usize
§small_combined_files: usize
§single_block_files: usize
§multi_block_files: usize
§errors: usize
§elapsed: Duration
§read_blocks: usize
§read_blocks_uncompressed_bytes: usize
§read_blocks_compressed_bytes: usize
Trait Implementations§
source§impl Add for BackupStats
impl Add for BackupStats
§type Output = BackupStats
type Output = BackupStats
The resulting type after applying the
+
operator.source§fn add(self, rhs: BackupStats) -> BackupStats
fn add(self, rhs: BackupStats) -> BackupStats
Performs the
+
operation. Read moresource§impl AddAssign for BackupStats
impl AddAssign for BackupStats
source§fn add_assign(&mut self, rhs: BackupStats)
fn add_assign(&mut self, rhs: BackupStats)
Performs the
+=
operation. Read moresource§impl Clone for BackupStats
impl Clone for BackupStats
source§fn clone(&self) -> BackupStats
fn clone(&self) -> BackupStats
Returns a copy 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 BackupStats
impl Debug for BackupStats
source§impl Default for BackupStats
impl Default for BackupStats
source§fn default() -> BackupStats
fn default() -> BackupStats
Returns the “default value” for a type. Read more
source§impl Display for BackupStats
impl Display for BackupStats
source§impl PartialEq for BackupStats
impl PartialEq for BackupStats
source§fn eq(&self, other: &BackupStats) -> bool
fn eq(&self, other: &BackupStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BackupStats
impl StructuralEq for BackupStats
impl StructuralPartialEq for BackupStats
Auto Trait Implementations§
impl RefUnwindSafe for BackupStats
impl Send for BackupStats
impl Sync for BackupStats
impl Unpin for BackupStats
impl UnwindSafe for BackupStats
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given
SeparatorPolicy
. Read moresource§fn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
source§fn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
source§fn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
source§fn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more