Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_length
Function · 0.45
serve
Function · 0.45
submit_word
Method · 0.45
submit_word
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected