io_extras::grip

Function 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.