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