io_extras::os::windows

Trait IntoRawHandleOrSocket

Source
pub trait IntoRawHandleOrSocket {
    // Required method
    fn into_raw_handle_or_socket(self) -> RawHandleOrSocket;
}
Expand description

Like IntoRawHandle and IntoRawSocket, but implementable by types which can implement either one.

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoRawHandleOrSocket for File

Source§

impl IntoRawHandleOrSocket for TcpListener

Source§

impl IntoRawHandleOrSocket for TcpStream

Source§

impl IntoRawHandleOrSocket for UdpSocket

Source§

impl IntoRawHandleOrSocket for ChildStderr

Source§

impl IntoRawHandleOrSocket for ChildStdin

Source§

impl IntoRawHandleOrSocket for ChildStdout

Implementors§

Source§

impl IntoRawHandleOrSocket for RawReadable

RawReadable doesn’t own its handle.

Source§

impl IntoRawHandleOrSocket for RawWriteable

RawWriteable doesn’t own its handle.

Source§

impl IntoRawHandleOrSocket for OwnedHandleOrSocket