pub fn convert_handle_dispositions_to_infos(
    handle_dispositions: Vec<HandleDisposition<'_>>,
) -> Result<Vec<HandleInfo>>Expand description
Converts a vector of HandleDisposition (handles bundled with their
intended object type and rights) to a vector of HandleInfo (handles
bundled with their actual type and rights, guaranteed by the kernel).
This makes a zx_handle_replace syscall for each handle unless the rights
are Rights::SAME_RIGHTS.
ยงPanics
Panics if any of the handle dispositions uses HandleOp::Duplicate. This is
never the case for handle dispositions return by standalone_encode.