Function check_held
pub fn check_held(
actor: &Authority<'_>,
grants: &[Grant],
cx: &Context<'_>,
) -> Result<(), ShareRefusal>Expand description
Whether sharer, deciding as actor, holds everything each of
grants gives on its node.
§Errors
ShareRefusal::NotHeld for the first grant above the sharer’s own.