Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
H A Dudp_socket.rs25 pub struct UdpSocket { struct
31 impl UdpSocket { implementation
42 pub fn bind(addr: SocketAddr) -> io::Result<UdpSocket> { in bind()
69 pub fn from_std(socket: net::UdpSocket) -> UdpSocket { in from_std()
624 impl fmt::Debug for UdpSocket { implementation
636 impl Source for UdpSocket { implementation
676 impl AsRawSocket for UdpSocket { implementation
H A Dsocket.rs60 pub(crate) fn bind(self, addr: SocketAddr) -> io::Result<net::UdpSocket> { in bind()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/
H A Dudp_socket.rs65 pub struct UdpSocket { struct
69 impl UdpSocket { implementation
88 pub fn bind(addr: SocketAddr) -> io::Result<UdpSocket> { in bind()
99 pub fn from_std(socket: net::UdpSocket) -> UdpSocket { in from_std()
744 impl fmt::Debug for UdpSocket { implementation
756 impl Source for UdpSocket { implementation
H A Dsocket.rs44 pub(crate) fn bind(self, addr: SocketAddr) -> io::Result<UdpSocket> { in bind()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
H A Dudp.rs67 pub struct UdpSocket { struct
76 impl Debug for UdpSocket { implementation
88 impl UdpSocket { implementation
1409 impl AsRawSocket for UdpSocket { implementation
1429 impl AsRawFd for UdpSocket { implementation
1461 F: FnMut(&UdpSocket), in udp_try_bind_connect()