pub fn validate_chain(
placement: &DecodedEntity,
decoder: &mut EntityDecoder<'_>,
policy: &ChainPolicy,
) -> PlacementResult<()>Expand description
Walk placement up to the root and check every link against policy.
A broken rule is PlacementError::Policy, a consumer’s limit rather
than bad input, so it is not counted as a refused record.