Function io_extras::grip::borrow_raw
source · [−]pub unsafe fn borrow_raw<'a>(grip: RawGrip) -> BorrowedGrip<'a>
Expand description
Portability abstraction over BorrowedFd::from_raw_fd
and
BorrowedHandleOrSocket::from_raw_handle_or_socket
.
Safety
See the safety conditions for borrow_raw
.