Skip to main content

build_facts

Function build_facts 

Source
pub fn build_facts(
    node_id: &str,
    issued_at: u64,
    ttl_secs: u64,
    seq: u64,
    collected: Collected,
) -> NodeFacts
Expand description

Probe this machine and wrap the result as unsigned NodeFacts.

Capabilities and notes beyond the NodeFacts bounds are dropped (with a note) rather than producing facts that would not validate.