Serialize a metadata value into a `blake3::Hasher`. The `()` impl is a no-op, so erased metadata contributes nothing.
| 18 | /// Serialize a metadata value into a `blake3::Hasher`. |
| 19 | /// The `()` impl is a no-op, so erased metadata contributes nothing. |
| 20 | pub trait MetaHash { |
| 21 | fn meta_hash(&self, hasher: &mut blake3::Hasher); |
| 22 | } |
| 23 | |
| 24 | impl MetaHash for () { |
| 25 | fn meta_hash(&self, _hasher: &mut blake3::Hasher) {} |