Searched defs:UdpSocket (Results 1 – 6 of 6) sorted by relevance
95 pub struct UdpSocket { struct96 inner: IoSource<net::UdpSocket>, argument99 impl UdpSocket { implementation125 pub fn bind(addr: SocketAddr) -> io::Result<UdpSocket> { in bind()135 pub fn from_std(socket: net::UdpSocket) -> UdpSocket { in from_std()619 impl event::Source for UdpSocket { implementation643 impl fmt::Debug for UdpSocket { implementation650 impl IntoRawFd for UdpSocket { implementation657 impl AsRawFd for UdpSocket { implementation664 impl FromRawFd for UdpSocket { implementation[all …]
126 impl UdpSocket { impl148 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<UdpSocket> { in bind()167 fn bind_addr(addr: SocketAddr) -> io::Result<UdpSocket> { in bind_addr()173 fn new(socket: mio::net::UdpSocket) -> io::Result<UdpSocket> { in new()221 pub fn from_std(socket: net::UdpSocket) -> io::Result<UdpSocket> { in from_std()248 pub fn into_std(self) -> io::Result<std::net::UdpSocket> { in into_std()1998 impl TryFrom<std::net::UdpSocket> for UdpSocket { implementation2010 impl fmt::Debug for UdpSocket { implementation2021 impl AsRawFd for UdpSocket { implementation2027 impl AsFd for UdpSocket { implementation
5 pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
13 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