Skip to main content

AsHandle

Trait AsHandle 

Source
pub trait AsHandle {
    // Required method
    fn as_handle(&self) -> BorrowedHandle<'_>;
}
Available on docsrs and Unix and (crate features fs or net) only.
Expand description

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl AsHandle for ChildStderr

Available on Windows and crate feature process only.
Source§

impl AsHandle for ChildStdin

Available on Windows and crate feature process only.
Source§

impl AsHandle for ChildStdout

Available on Windows and crate feature process only.
Source§

impl AsHandle for File

Available on Windows and crate feature fs only.
Source§

impl AsHandle for NamedPipeClient

Available on Windows and crate feature net only.
Source§

impl AsHandle for NamedPipeServer

Available on Windows and crate feature net only.
Source§

impl AsHandle for Stderr

Available on Windows and crate feature io-std only.
Source§

impl AsHandle for Stdin

Available on Windows and crate feature io-std only.
Source§

impl AsHandle for Stdout

Available on Windows and crate feature io-std only.