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§
Sourcefn as_handle(&self) -> BorrowedHandle<'_>
fn as_handle(&self) -> BorrowedHandle<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl AsHandle for ChildStderr
Available on Windows and crate feature
process only.impl AsHandle for ChildStdin
Available on Windows and crate feature
process only.impl AsHandle for ChildStdout
Available on Windows and crate feature
process only.impl AsHandle for File
Available on Windows and crate feature
fs only.impl AsHandle for NamedPipeClient
Available on Windows and crate feature
net only.impl AsHandle for NamedPipeServer
Available on Windows and crate feature
net only.impl AsHandle for Stderr
Available on Windows and crate feature
io-std only.impl AsHandle for Stdin
Available on Windows and crate feature
io-std only.impl AsHandle for Stdout
Available on Windows and crate feature
io-std only.