Skip to main content

AsRawHandle

Trait AsRawHandle 

Source
pub trait AsRawHandle {
    // Required method
    fn as_raw_handle(&self) -> RawHandle;
}
Available on crate feature docs and crate feature std and (Windows or crate feature docs) only.
Expand description

Extracts raw handles.

Required Methods§

Source

fn as_raw_handle(&self) -> RawHandle

Extracts the raw handle, without taking any ownership.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl AsRawHandle for File

Available on crate feature default and non-target_os=unknown only.
Source§

impl AsRawHandle for Stderr

Available on crate feature default and non-target_os=unknown only.
Source§

impl AsRawHandle for Stdin

Available on crate feature default and non-target_os=unknown only.
Source§

impl AsRawHandle for Stdout

Available on crate feature default and non-target_os=unknown only.