Searched defs:UdpSocket (Results 1 – 7 of 7) 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()530 impl event::Source for UdpSocket { implementation554 impl fmt::Debug for UdpSocket { implementation561 impl IntoRawFd for UdpSocket { implementation568 impl AsRawFd for UdpSocket { implementation575 impl FromRawFd for UdpSocket { implementation[all …]
127 impl UdpSocket { implementation145 pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<UdpSocket> { in bind()164 fn bind_addr(addr: SocketAddr) -> io::Result<UdpSocket> { in bind_addr()169 fn new(socket: mio::net::UdpSocket) -> io::Result<UdpSocket> { in new()209 pub fn from_std(socket: net::UdpSocket) -> io::Result<UdpSocket> { in from_std()236 pub fn into_std(self) -> io::Result<std::net::UdpSocket> { in into_std()1397 impl TryFrom<std::net::UdpSocket> for UdpSocket { implementation1409 impl fmt::Debug for UdpSocket { implementation1420 impl AsRawFd for UdpSocket { implementation1432 impl AsRawSocket for UdpSocket { implementation
4 pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
8 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
14 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
18 class UdpSocket; variable
230 impl AsRawDescriptor for UdpSocket { implementation