Searched defs:UdpSocket (Results 1 – 6 of 6) sorted by relevance
91 pub struct UdpSocket { struct92 inner: IoSource<net::UdpSocket>, argument95 impl UdpSocket { implementation121 pub fn bind(addr: SocketAddr) -> io::Result<UdpSocket> { in bind()131 pub fn from_std(socket: net::UdpSocket) -> UdpSocket { in from_std()615 impl event::Source for UdpSocket { implementation639 impl fmt::Debug for UdpSocket { implementation646 impl IntoRawFd for UdpSocket { implementation653 impl AsRawFd for UdpSocket { implementation660 impl FromRawFd for UdpSocket { implementation[all …]
127 impl UdpSocket { impl149 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<UdpSocket> { in bind()168 fn bind_addr(addr: SocketAddr) -> io::Result<UdpSocket> { in bind_addr()174 fn new(socket: mio::net::UdpSocket) -> io::Result<UdpSocket> { in new()222 pub fn from_std(socket: net::UdpSocket) -> io::Result<UdpSocket> { in from_std()249 pub fn into_std(self) -> io::Result<std::net::UdpSocket> { in into_std()1676 impl TryFrom<std::net::UdpSocket> for UdpSocket { implementation1688 impl fmt::Debug for UdpSocket { implementation1699 impl AsRawFd for UdpSocket { implementation1711 impl AsRawSocket for UdpSocket { implementation
5 pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
8 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
12 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
18 class UdpSocket; variable