gidl_util

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