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§
Sourcefn as_raw_handle(&self) -> RawHandle
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§
impl AsRawHandle for File
Available on crate feature
default and non-target_os=unknown only.impl AsRawHandle for Stderr
Available on crate feature
default and non-target_os=unknown only.impl AsRawHandle for Stdin
Available on crate feature
default and non-target_os=unknown only.impl AsRawHandle for Stdout
Available on crate feature
default and non-target_os=unknown only.