Skip to main content

node_id_str

Function node_id_str 

Source
pub fn node_id_str(id: NodeId) -> String
Expand description

Stable, compact serialization for NodeId.

Returns a short numeric string (e.g. "1", "42") instead of the previous "NodeId(0v1)" Debug format. The mapping is deterministic per NodeId for the lifetime of the process.