api_impl::storage

Function restrict_object_usage

Source
pub fn restrict_object_usage(object: ObjectHandle, usage: Usage)
Expand description

Restricts the usage of an open object handle.

Panics if object is not a valid handle.