pub(crate) unsafe fn call_with_sockaddr<A, R>(
    addr: &A,
    f: impl FnOnce(*const SocketAddrOpaque, SocketAddrLen) -> R,
) -> RExpand description
Helper for implementing SocketAddrArg::with_sockaddr.
§Safety
This calls f with a pointer to an object it has a reference to, with the
and the length of that object, so they’ll be valid for the duration of the
call.