pub fn mixed_from_handle_disposition(
handle: HandleDisposition<'static>,
) -> Option<MixedHandle>
Expand description
Converts a HandleDisposition
to a [MixedHandle
], relying on the bit pattern of
the handle to correctly identify Handle
vs. [fdf::DriverHandle
].
§Panics
This panics if the handle’s op is not zx::HandleOp::Move