I'm trying to adapt to the breaking change from 0.5.10 to 0.6, but don't see a way for my use cases of socket2::SockAddr::new
which now takes a SockAddrStorage
instead of the previous libc::sockaddr_storage
. Also, the latter is Copy
and Clone
, while the former is not. I cannot construct a SockAddrStorage
from a libc::sockaddr_storage
that I obtain from a syscall like recvmmsg
either, so it seems I'm stuck.