usecrate::Hash;usebase_xx::ByteVec;usebase_xx::SerialiseError;usestd::sync::Arc;/// A hash function implementation.
pubtraitHasher{/// Computes a hash of the provided bytes.
////// # Errors
/// * `SerialiseError` - If hashing fails (for example, due to an error converting the input
/// bytes to the internal hash representation)
fntry_hash(byte_vec:Arc<ByteVec>)->Result<Arc<Hash>, SerialiseError>;}