pub fn rule_cid(rule: &RuleIpld) -> Result<Cid, Error>Expand description
Compute the content-addressed Cid for a RuleIpld without storing it.
This is a pure function: it deterministically maps a rule to its CID. Callers can use it to check whether a rule is already known before fetching the full block over the network.