Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/mio/src/net/
Dudp.rs95 pub struct UdpSocket { struct
96 inner: IoSource<net::UdpSocket>, argument
99 impl UdpSocket { implementation
125 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 { implementation
643 impl fmt::Debug for UdpSocket { implementation
650 impl IntoRawFd for UdpSocket { implementation
657 impl AsRawFd for UdpSocket { implementation
664 impl FromRawFd for UdpSocket { implementation
[all …]
/external/rust/android-crates-io/crates/tokio/src/net/
Dudp.rs126 impl UdpSocket { impl
148 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 { implementation
2010 impl fmt::Debug for UdpSocket { implementation
2021 impl AsRawFd for UdpSocket { implementation
2027 impl AsFd for UdpSocket { implementation
/external/rust/android-crates-io/crates/mio/src/sys/shell/
Dudp.rs5 pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/external/rust/android-crates-io/crates/mio/src/sys/unix/
Dudp.rs13 pub fn bind(addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/external/rust/android-crates-io/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