Function rustix::backend::net::sockopt::getsockopt

source ยท
fn getsockopt<T: Copy>(
    fd: BorrowedFd<'_>,
    level: u32,
    optname: u32,
) -> Result<T>