MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / hash

Method hash

droute/src/cache.rs:51–54  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

49
50impl<A: Hash + ?Sized, B: Hash + ?Sized> Hash for (dyn KeyPair<A, B> + '_) {
51 fn hash<H: Hasher>(&self, state: &mut H) {
52 self.a().hash(state);
53 self.b().hash(state);
54 }
55}
56
57impl<A: Eq + ?Sized, B: Eq + ?Sized> PartialEq for (dyn KeyPair<A, B> + '_) {

Callers

nothing calls this directly

Calls 2

aMethod · 0.80
bMethod · 0.80

Tested by

no test coverage detected