MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-for-Blockchain-Application-Development / len

Method len

chapter 4/node.rs:60–62  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

58 }
59
60 pub fn len(&self) -> usize {
61 self.inner.read().unwrap().len()
62 }
63
64 pub fn node_is_known(&self, addr: &str) -> bool {
65 let inner = self.inner.read().unwrap();

Callers 4

calculate_lengthFunction · 0.45
serveFunction · 0.45
submit_wordMethod · 0.45
submit_wordMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected