Wrap an argv handle without releasing on drop (host owns it for the call).
(raw: u32)
| 168 | impl Handle { |
| 169 | /// Wrap an argv handle without releasing on drop (host owns it for the call). |
| 170 | pub fn borrow(raw: u32) -> Self { Self { raw, owned: false } } |
| 171 | /// Take ownership of a raw handle; `Drop` will release the refcount. |
| 172 | pub fn from_raw(raw: u32) -> Self { Self { raw, owned: true } } |
| 173 | /// Surrender the handle without running `Drop` (used when writing to `*out`). |
no outgoing calls