Trait io_extras::os::windows::AsRawHandleOrSocket [−][src]
pub trait AsRawHandleOrSocket {
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
fn as_raw_handle_or_socket(&self) -> RawHandleOrSocket
fn as_raw_handle_or_socket(&self) -> RawHandleOrSocket
Like AsRawHandle::as_raw_handle
and AsRawSocket::as_raw_socket
but can return either type.
Implementations on Foreign Types
Implementors
RawReadable
doesn’t own its handle.
RawWriteable
doesn’t own its handle.