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

§

type Output = BackupStats

The resulting type after applying the + operator.
source§

fn add(self, rhs: BackupStats) -> BackupStats

Performs the + operation. Read more
source§

impl AddAssign for BackupStats

source§

fn add_assign(&mut self, rhs: BackupStats)

Performs the += operation. Read more
source§

impl Clone for BackupStats

source§

fn clone(&self) -> BackupStats

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BackupStats

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BackupStats

source§

fn default() -> BackupStats

Returns the “default value” for a type. Read more
source§

impl Display for BackupStats

source§

fn fmt(&self, w: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for BackupStats

source§

fn eq(&self, other: &BackupStats) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for BackupStats

source§

impl StructuralEq for BackupStats

source§

impl StructuralPartialEq for BackupStats

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Model for T
where T: Display,

source§

fn render(&mut self, _width: usize) -> String

Render this model into a string to draw on the console. Read more
source§

fn final_message(&mut self) -> String

Optionally render a final message when the view is finished. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more