fn _size_checks(v4: SocketAddrV4, v6: SocketAddrV6) {
    unsafe {
        mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
        mem::transmute::<SocketAddrV6, sockaddr_in6>(v6);
    }
}
// check to make sure that the sizes at least match up
check to make sure that the sizes at least match up
check to make sure that the sizes at least match up
fn _size_checks(v4: SocketAddrV4, v6: SocketAddrV6) {
    unsafe {
        mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
        mem::transmute::<SocketAddrV6, sockaddr_in6>(v6);
    }
}
fn _size_checks ( v4 : SocketAddrV4 , v6 : SocketAddrV6 ) { unsafe { mem :: transmute :: < SocketAddrV4 , sockaddr_in > ( v4 ) ; mem :: transmute :: < SocketAddrV6 , sockaddr_in6 > ( v6 ) ; } }
check to make sure that the sizes at least match up
check to make sure that the sizes at least match up
v4
SocketAddrV4
v6
SocketAddrV6
v4
SocketAddrV4
v6
SocketAddrV6