Skip to main content

ensure_not_foreign

Function ensure_not_foreign 

Source
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.