pub fn accepted_for(current: &ServiceShape, older: &[String]) -> AcceptedExpand description
Decide which of older (shape texts from the contracts lock) the callee
whose service has current accepts.
Each entry is checked against current itself with check_call: it is
kept only if a caller compiled against it still works against current.
Compatibility is never carried through intermediate versions, so an entry
that was compatible with the contract before this one is dropped if it is
not compatible with this one. An entry for another service, one that does
not parse, or one equal to current is left out (the last silently: the
callee already accepts its own hash).