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: usizeFiles that were previously stored and that have been stored again because some of their blocks were damaged.
deduplicated_bytes: u64Bytes that matched an existing block.
uncompressed_bytes: u64Bytes that were stored as new blocks, before compression.
compressed_bytes: u64§deduplicated_blocks: usize§written_blocks: usize§combined_blocks: usizeBlocks 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: usizeTrait Implementations§
Source§impl Add for BackupStats
impl Add for BackupStats
Source§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 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 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
impl Eq for BackupStats
impl StructuralPartialEq for BackupStats
Auto Trait Implementations§
impl Freeze for BackupStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
Source§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