pub struct DeduplicationMetrics {Show 13 fields
pub total_bytes: u64,
pub deduped_bytes: u64,
pub new_bytes: u64,
pub deduped_bytes_by_global_dedup: u64,
pub defrag_prevented_dedup_bytes: u64,
pub total_chunks: u64,
pub deduped_chunks: u64,
pub new_chunks: u64,
pub deduped_chunks_by_global_dedup: u64,
pub defrag_prevented_dedup_chunks: u64,
pub xorb_bytes_uploaded: u64,
pub shard_bytes_uploaded: u64,
pub total_bytes_uploaded: u64,
}Fields§
§total_bytes: u64§deduped_bytes: u64§new_bytes: u64§deduped_bytes_by_global_dedup: u64§defrag_prevented_dedup_bytes: u64§total_chunks: u64§deduped_chunks: u64§new_chunks: u64§deduped_chunks_by_global_dedup: u64§defrag_prevented_dedup_chunks: u64§xorb_bytes_uploaded: u64§shard_bytes_uploaded: u64§total_bytes_uploaded: u64Implementations§
Source§impl DeduplicationMetrics
Implement + for the metrics above, so they can be added
and updated after each call to process_chunks.
impl DeduplicationMetrics
Implement + for the metrics above, so they can be added and updated after each call to process_chunks.
Trait Implementations§
Source§impl Clone for DeduplicationMetrics
impl Clone for DeduplicationMetrics
Source§fn clone(&self) -> DeduplicationMetrics
fn clone(&self) -> DeduplicationMetrics
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 DeduplicationMetrics
impl Debug for DeduplicationMetrics
Source§impl Default for DeduplicationMetrics
impl Default for DeduplicationMetrics
Source§fn default() -> DeduplicationMetrics
fn default() -> DeduplicationMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeduplicationMetrics
impl<'de> Deserialize<'de> for DeduplicationMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DeduplicationMetrics
impl Serialize for DeduplicationMetrics
impl Copy for DeduplicationMetrics
Auto Trait Implementations§
impl Freeze for DeduplicationMetrics
impl RefUnwindSafe for DeduplicationMetrics
impl Send for DeduplicationMetrics
impl Sync for DeduplicationMetrics
impl Unpin for DeduplicationMetrics
impl UnsafeUnpin for DeduplicationMetrics
impl UnwindSafe for DeduplicationMetrics
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> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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 more