io_extras

Module grip

source
Expand description

“Grip” is an abstraction over “Fd” and “HandleOrSocket”. “Handle” would be the obvious term, but that has a more specific meaning on Windows.

Traits§

  • Portability abstraction over AsFd and AsHandleOrSocket.
  • Portability abstraction over AsFd and AsHandleOrSocket.
  • Portability abstraction over AsReadWriteFd and AsReadWriteHandleOrSocket.
  • Portability abstraction over AsReadWriteFd and AsReadWriteHandleOrSocket.
  • Portability abstraction over From<OwnedFd> and From<OwnedHandleOrSocket>.
  • Portability abstraction over From<OwnedFd> and From<OwnedHandleOrSocket>.
  • Portability abstraction over Into<OwnedFd> and Into<OwnedHandleOrSocket>.
  • Portability abstraction over IntoRawFd and IntoRawHandleOrSocket.

Functions§

  • Portability abstraction over BorrowedFd::from_raw_fd and BorrowedHandleOrSocket::from_raw_handle_or_socket.

Type Aliases§

  • Portability abstraction over BorrowedFd and BorrowedHandleOrSocket.
  • Portability abstraction over OwnedFd and OwnedHandleOrSocket.
  • Portability abstraction over RawFd and RawHandleOrSocket.