MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / id

Method id

core/src/peer.rs:65–67  ·  view source on GitHub ↗

Report the id of this peer.

(&self)

Source from the content-addressed store, hash-verified

63
64 /// Report the id of this peer.
65 pub fn id(&self) -> NodeId {
66 self.id
67 }
68
69 /// Report the number of seconds after the UNIX epoch when this entry is no longer valid.
70 pub fn expiration(&self) -> u64 {

Callers 15

hash_range_queryFunction · 0.45
range_queryFunction · 0.45
first_queryFunction · 0.45
middle_queryFunction · 0.45
value_for_keyFunction · 0.45
from_entryMethod · 0.45
buildMethod · 0.45
peer_roundtripFunction · 0.45
peer_jws_verifyFunction · 0.45
with_networkMethod · 0.45

Calls

no outgoing calls

Tested by 15

hash_range_queryFunction · 0.36
range_queryFunction · 0.36
first_queryFunction · 0.36
middle_queryFunction · 0.36
value_for_keyFunction · 0.36
peer_roundtripFunction · 0.36
peer_jws_verifyFunction · 0.36
buildMethod · 0.36
hash_range_queryFunction · 0.36
range_queryFunction · 0.36
first_queryFunction · 0.36