Function socket_type

Source
pub(crate) fn socket_type(fd: BorrowedFd<'_>) -> Result<SocketType>