Function rustix::backend::net::sockopt::get_socket_protocol

source ยท
pub(crate) fn get_socket_protocol(
    fd: BorrowedFd<'_>,
) -> Result<Option<Protocol>>