Trait std::os::windows::io::IntoRawHandle
[−]
[src]
pub trait IntoRawHandle { fn into_raw_handle(self) -> RawHandle; }
: recently added API
A trait to express the ability to consume an object and acquire ownership of
its raw HANDLE
.
Required Methods
fn into_raw_handle(self) -> RawHandle
: recently added API
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.
Implementors
impl IntoRawHandle for File
impl IntoRawHandle for Child
impl IntoRawHandle for ChildStdin
impl IntoRawHandle for ChildStdout
impl IntoRawHandle for ChildStderr
impl IntoRawHandle for File
impl IntoRawHandle for Child
impl IntoRawHandle for ChildStdin
impl IntoRawHandle for ChildStdout
impl IntoRawHandle for ChildStderr