Trait io_extras::os::windows::AsHandleOrSocket[][src]

pub trait AsHandleOrSocket {
    fn as_handle_or_socket(&self) -> BorrowedHandleOrSocket<'_>;
}
Expand description

Like AsHandle and AsSocket, but implementable by types which can implement either one.

Required methods

Like AsHandle::as_handle and AsSocket::as_socket but can return either type.

Implementations on Foreign Types

Implementors