Home
last modified time | relevance | path

Searched defs:UdpSocket (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/mio/src/net/
Dudp.rs91 pub struct UdpSocket { struct
92 inner: IoSource<net::UdpSocket>, argument
95 impl UdpSocket { implementation
121 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 { implementation
639 impl fmt::Debug for UdpSocket { implementation
646 impl IntoRawFd for UdpSocket { implementation
653 impl AsRawFd for UdpSocket { implementation
660 impl FromRawFd for UdpSocket { implementation
[all …]
/external/rust/crates/tokio/src/net/
Dudp.rs127 impl UdpSocket { impl
149 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 { implementation
1688 impl fmt::Debug for UdpSocket { implementation
1699 impl AsRawFd for UdpSocket { implementation
1711 impl AsRawSocket for UdpSocket { implementation
/external/rust/crates/mio/src/sys/shell/
Dudp.rs5 pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/external/rust/crates/mio/src/sys/unix/
Dudp.rs8 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/external/rust/crates/mio/src/sys/windows/
Dudp.rs12 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/external/openscreen/platform/base/
Dudp_packet.h18 class UdpSocket; variable