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

Method borrow

droute/src/cache.rs:45–47  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

43 D: Borrow<B> + 'a,
44{
45 fn borrow(&self) -> &(dyn KeyPair<A, B> + 'a) {
46 self
47 }
48}
49
50impl<A: Hash + ?Sized, B: Hash + ?Sized> Hash for (dyn KeyPair<A, B> + '_) {

Callers 2

aMethod · 0.80
bMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected