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