rustix::backend::net::sockopt

Function get_socket_domain

Source
pub(crate) fn get_socket_domain(fd: BorrowedFd<'_>) -> Result<AddressFamily>