Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ get_addr
Method
get_addr
chapter 4/node.rs:14–16 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
12
}
13
14
pub fn get_addr(&self) -> String {
15
self.addr.clone()
16
}
17
18
pub fn parse_socket_addr(&self) -> SocketAddr {
19
self.addr.parse().unwrap()
Callers
4
serve
Function · 0.45
add_node
Method · 0.45
evict_node
Method · 0.45
node_is_known
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected