pub fn matches_csv(required_csv: &str, worker_caps: &BTreeSet<String>) -> boolExpand description
CSV-form subset predicate. Used by ff-scheduler::claim so the HGET
result can be fed in directly without parsing allocation.
Semantics identical to [matches]: every non-empty comma-separated
token in required_csv must appear in worker_caps. Empty or
all-separator CSV → true.
Kept as a separate entry point (rather than routing through
CapabilityRequirement::from_csv + [matches]) to avoid the
BTreeSet allocation on the scheduler hot path — the current call
site already has a &BTreeSet<String> of worker caps in hand.