libmhash 0.2.1

A file hashing library that can do multiple hashes for multile files at the same time.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::hash::Hash;

use crate::hasher_server::Identifier;

#[derive(Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)]
pub struct HasherProgress<Tag>
where
    Tag: Clone + Eq + Hash + Send,
{
    pub identifier: Identifier,
    pub tag: Tag,
    pub total_data_length: u64,
    pub processed_data_length: u64,
}