pub fn check_needs(
child: &str,
service: &str,
needs: &[Need],
served: impl Fn(&str) -> Option<String>,
) -> Result<(), NeedsMiss>Expand description
Check needs against what a service serves: served(path) is the shape
hash of the method at path (empty: served, its shape unknown — below an
untyped slot), None when it serves none there. An empty need hash
checks presence alone.