gidl_util

Function select_handle_infos

Source
pub fn select_handle_infos(
    handle_defs: &[zx_handle_info_t],
    indices: &[usize],
) -> Vec<HandleInfo>
Expand description

Copies raw handles from the given indices to a new vector of owned HandleInfos. The caller must ensure handles are closed exactly once.