pub trait IntoRawHandle { fn into_raw_handle(self) -> RawHandle; }
A trait to express the ability to consume an object and acquire ownership of its raw HANDLE
.
fn into_raw_handle(self) -> RawHandle
Consumes this object, returning the raw underlying handle.
This function transfers ownership of the underlying handle to the caller. Callers are then the unique owners of the handle and must close it once it's no longer needed.
impl IntoRawHandle for File
[src]
fn into_raw_handle(self) -> RawHandle
[src]
impl IntoRawHandle for Child
[src]
fn into_raw_handle(self) -> RawHandle
[src]
impl IntoRawHandle for ChildStderr
[src]
fn into_raw_handle(self) -> RawHandle
[src]
impl IntoRawHandle for ChildStdin
[src]
fn into_raw_handle(self) -> RawHandle
[src]
impl IntoRawHandle for ChildStdout
[src]
fn into_raw_handle(self) -> RawHandle
[src]
impl<T> IntoRawHandle for JoinHandle<T>
[src]
fn into_raw_handle(self) -> RawHandle
[src]
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/windows/io/trait.IntoRawHandle.html