Function rustix::backend::net::msghdr::with_recv_msghdr

source ยท
pub(crate) fn with_recv_msghdr<R>(
    name: &mut MaybeUninit<__kernel_sockaddr_storage>,
    iov: &mut [IoSliceMut<'_>],
    control: &mut RecvAncillaryBuffer<'_>,
    f: impl FnOnce(&mut msghdr) -> Result<R>,
) -> Result<R>
Expand description

Create a message header intended to receive a datagram.