Trait fclones::StageMetrics[][src]

pub trait StageMetrics {
    fn total_count(self) -> usize;
fn total_size(self) -> FileLen;
fn selected_count(self, rf_over: usize, rf_under: usize) -> usize;
fn selected_size(self, rf_over: usize, rf_under: usize) -> FileLen; }

Computes summaries of the results obtained from each grouping stage.

Required methods

fn total_count(self) -> usize[src]

Returns the total count of the files

fn total_size(self) -> FileLen[src]

Returns the sum of file lengths

fn selected_count(self, rf_over: usize, rf_under: usize) -> usize[src]

Returns the total count of redundant files

fn selected_size(self, rf_over: usize, rf_under: usize) -> FileLen[src]

Returns the amount of data in redundant files

Loading content...

Implementors

impl<'a, I, F> StageMetrics for I where
    I: IntoIterator<Item = &'a FileGroup<F>> + 'a,
    F: 'a, 
[src]

Loading content...