io_lifetimes

Type Alias BorrowedSocketlike

source
pub type BorrowedSocketlike<'socketlike> = BorrowedFd<'socketlike>;
Expand description

A reference to a socketlike object.

This is a portability abstraction over Unix-like BorrowedFd and Windows’ BorrowedSocket.

Aliased Type§

struct BorrowedSocketlike<'socketlike> { /* private fields */ }