io_extras::os::windows

Trait AsRawHandleOrSocket

Source
pub trait AsRawHandleOrSocket {
    // Required method
    fn as_raw_handle_or_socket(&self) -> RawHandleOrSocket;
}
Expand description

Like AsRawHandle and AsRawSocket, but implementable by types which can implement either one.

Required Methods§

Implementations on Foreign Types§

Source§

impl AsRawHandleOrSocket for File

Source§

impl AsRawHandleOrSocket for Stderr

Source§

impl AsRawHandleOrSocket for StderrLock<'_>

Source§

impl AsRawHandleOrSocket for Stdin

Source§

impl AsRawHandleOrSocket for StdinLock<'_>

Source§

impl AsRawHandleOrSocket for Stdout

Source§

impl AsRawHandleOrSocket for StdoutLock<'_>

Source§

impl AsRawHandleOrSocket for TcpListener

Source§

impl AsRawHandleOrSocket for TcpStream

Source§

impl AsRawHandleOrSocket for UdpSocket

Source§

impl AsRawHandleOrSocket for ChildStderr

Source§

impl AsRawHandleOrSocket for ChildStdin

Source§

impl AsRawHandleOrSocket for ChildStdout

Implementors§