# 1.4.0[−][src]Trait std::os::windows::io::IntoRawHandle

    pub trait IntoRawHandle {
        pub fn into_raw_handle(self) -> RawHandle;
    }

This is supported on Windows only.

A trait to express the ability to consume an object and acquire ownership of its raw `HANDLE`.

## Required methods

### `pub fn into_raw_handle(self) -> RawHandle`[src]

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.

Loading content...

## Implementors

### `impl IntoRawHandle for File`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.

### `impl IntoRawHandle for Child`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.

### `impl IntoRawHandle for ChildStderr`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.

### `impl IntoRawHandle for ChildStdin`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.

### `impl IntoRawHandle for ChildStdout`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.

### `impl<T> IntoRawHandle for JoinHandle<T>`[src]

#### `pub fn into_raw_handle(self) -> RawHandle`[src]

This is supported on Windows only.
Loading content...