pub fn ensure_not_foreign<K: Resource<DynamicType = ()>>(
object: &K,
owner: &OwnerReference,
) -> ExecResult<()>Expand description
Reject an existing object that is not controlled by owner.
pub fn ensure_not_foreign<K: Resource<DynamicType = ()>>(
object: &K,
owner: &OwnerReference,
) -> ExecResult<()>Reject an existing object that is not controlled by owner.