Struct conserve::stats::RestoreStats
source · pub struct RestoreStats {
pub files: usize,
pub symlinks: usize,
pub directories: usize,
pub unknown_kind: usize,
pub errors: usize,
pub uncompressed_file_bytes: u64,
pub elapsed: Duration,
pub block_cache_hits: usize,
}
Fields§
§files: usize
§symlinks: usize
§directories: usize
§unknown_kind: usize
§errors: usize
§uncompressed_file_bytes: u64
§elapsed: Duration
§block_cache_hits: usize
Trait Implementations§
source§impl Add for RestoreStats
impl Add for RestoreStats
§type Output = RestoreStats
type Output = RestoreStats
The resulting type after applying the
+
operator.source§fn add(self, rhs: RestoreStats) -> RestoreStats
fn add(self, rhs: RestoreStats) -> RestoreStats
Performs the
+
operation. Read moresource§impl AddAssign for RestoreStats
impl AddAssign for RestoreStats
source§fn add_assign(&mut self, rhs: RestoreStats)
fn add_assign(&mut self, rhs: RestoreStats)
Performs the
+=
operation. Read moresource§impl Clone for RestoreStats
impl Clone for RestoreStats
source§fn clone(&self) -> RestoreStats
fn clone(&self) -> RestoreStats
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 RestoreStats
impl Debug for RestoreStats
source§impl Default for RestoreStats
impl Default for RestoreStats
source§fn default() -> RestoreStats
fn default() -> RestoreStats
Returns the “default value” for a type. Read more
source§impl Display for RestoreStats
impl Display for RestoreStats
source§impl PartialEq for RestoreStats
impl PartialEq for RestoreStats
source§fn eq(&self, other: &RestoreStats) -> bool
fn eq(&self, other: &RestoreStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RestoreStats
impl StructuralEq for RestoreStats
impl StructuralPartialEq for RestoreStats
Auto Trait Implementations§
impl RefUnwindSafe for RestoreStats
impl Send for RestoreStats
impl Sync for RestoreStats
impl Unpin for RestoreStats
impl UnwindSafe for RestoreStats
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