pub type NodeCapMap = BTreeMap<String, Vec<String>>;Expand description
An owned node-capability map (Node.CapMap in Go: map[NodeCapability][]RawMessage).
Keys are capability names or URLs (e.g. "funnel", "https", or
"https://tailscale.com/cap/funnel-ports?ports=443,8443"); values are the raw JSON-encoded
argument blobs for that capability (often empty). Stored owned because the wire form
(ts_control_serde::Node::cap_map) borrows from the decode buffer, whereas the domain
Node outlives it. Funnel gating only inspects the keys (see Node::can_funnel and
Node::check_funnel_port); the values are retained for capabilities that carry argument data.
Aliased Typeยง
pub struct NodeCapMap { /* private fields */ }