1 use std::io; 2 use std::net::{self, SocketAddr}; 3 bind(_: SocketAddr) -> io::Result<net::UdpSocket>4pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { 5 os_required!() 6 } 7 only_v6(_: &net::UdpSocket) -> io::Result<bool>8pub(crate) fn only_v6(_: &net::UdpSocket) -> io::Result<bool> { 9 os_required!() 10 } 11