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§
Sourcefn into_raw_handle_or_socket(self) -> RawHandleOrSocket
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Like IntoRawHandle::into_raw_handle
and
IntoRawSocket::into_raw_socket
but can return either type.
Implementations on Foreign Types§
Source§impl IntoRawHandleOrSocket for File
impl IntoRawHandleOrSocket for File
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for TcpListener
impl IntoRawHandleOrSocket for TcpListener
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for TcpStream
impl IntoRawHandleOrSocket for TcpStream
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for UdpSocket
impl IntoRawHandleOrSocket for UdpSocket
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for ChildStderr
impl IntoRawHandleOrSocket for ChildStderr
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for ChildStdin
impl IntoRawHandleOrSocket for ChildStdin
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Source§impl IntoRawHandleOrSocket for ChildStdout
impl IntoRawHandleOrSocket for ChildStdout
fn into_raw_handle_or_socket(self) -> RawHandleOrSocket
Implementors§
impl IntoRawHandleOrSocket for RawReadable
RawReadable
doesn’t own its handle.
impl IntoRawHandleOrSocket for RawWriteable
RawWriteable
doesn’t own its handle.