Function gidl_util::copy_handle

source ·
pub fn copy_handle<T: HandleBased>(handle_info: &zx_handle_info_t) -> T
Expand description

Copies a raw handle into an owned HandleBased handle.