Trait rsure::SureHash [] [src]

pub trait SureHash {
    fn hash_estimate(&self) -> Estimate;
    fn hash_update(&mut self, path: &Path, meter: &mut Progress);
}

Required Methods

fn hash_estimate(&self) -> Estimate

Estimate how much work (files and bytes) need to be hashed.

fn hash_update(&mut self, path: &Path, meter: &mut Progress)

Update the hashes on any files that are missing them. Note that this only logs errors, and tries to continue.

Implementors