Searched refs:ConnectedUdpSocket (Results 1 - 12 of 12) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/ |
H A D | udp_socket.rs | 47 /// Connects peer address to get ConnectedUdpSocket. 62 pub fn connect(self, addr: SocketAddr) -> io::Result<ConnectedUdpSocket> { in connect() 63 let socket = ConnectedUdpSocket::from_std(self); in connect() 306 pub struct ConnectedUdpSocket { structure names 312 impl ConnectedUdpSocket { impls 313 /// Convert net::UdpSocket to ylong_io::ConnectedUdpSocket 314 pub fn from_std(socket: UdpSocket) -> ConnectedUdpSocket { in from_std() 315 ConnectedUdpSocket { in from_std() 614 /// Ok(Some(error)) => println!("ConnectedUdpSocket error: {error:?}"), 616 /// Err(error) => println!("ConnectedUdpSocket [all...] |
H A D | mod.rs | 18 pub use udp_socket::{ConnectedUdpSocket, UdpSocket};
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/ |
H A D | udp_socket.rs | 261 pub fn connect(self, addr: SocketAddr) -> io::Result<ConnectedUdpSocket> { in connect() 262 let socket = ConnectedUdpSocket::from_std(self.inner); in connect() 394 pub struct ConnectedUdpSocket { structure names 398 impl ConnectedUdpSocket { impls 405 pub fn from_std(socket: net::UdpSocket) -> ConnectedUdpSocket { in from_std() 406 ConnectedUdpSocket { inner: socket } in from_std() 734 /// Ok(Some(error)) => println!("ConnectedUdpSocket error: {error:?}"), 736 /// Err(error) => println!("ConnectedUdpSocket.take_error failed: {error:?}"), 750 impl fmt::Debug for ConnectedUdpSocket { in fmt() 775 impl Source for ConnectedUdpSocket { [all...] |
H A D | mod.rs | 20 pub use udp_socket::{ConnectedUdpSocket, UdpSocket};
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | mix.rs | 18 use ylong_runtime::net::ConnectedUdpSocket; 31 Udp(ConnectedUdpSocket),
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/ |
H A D | udp.rs | 72 pub struct ConnectedUdpSocket { structure names 73 pub(crate) source: AsyncSource<ylong_io::ConnectedUdpSocket>, 82 impl Debug for ConnectedUdpSocket { in fmt() 164 pub async fn connect<A: ToSocketAddrs>(self, addr: A) -> io::Result<ConnectedUdpSocket> { 175 Ok(socket) => return ConnectedUdpSocket::new(socket), 759 impl ConnectedUdpSocket { impls 761 /// Creates new ylong_runtime::net::ConnectedUdpSocket according to the 763 pub(crate) fn new(socket: ylong_io::ConnectedUdpSocket) -> io::Result<Self> { 765 Ok(ConnectedUdpSocket { source }) 1258 /// use ylong_runtime::net::{ConnectedUdpSocket, UdpSocke [all...] |
H A D | mod.rs | 20 pub use udp::{ConnectedUdpSocket, UdpSocket};
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/ |
H A D | lib.rs | 24 pub use sys::{ConnectedUdpSocket, UdpSocket};
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | mod.rs | 34 pub use self::udp::{UdpSocket, ConnectedUdpSocket};
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | mod.rs | 73 pub use self::udp::{UdpSocket, ConnectedUdpSocket};
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/ |
H A D | mod.rs | 26 use ylong_runtime::net::{ConnectedUdpSocket, UdpSocket}; 131 ) -> Result<ConnectedUdpSocket, HttpClientError> {
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | udp_test.rs | 179 fn sdv_udp_try_send(connected_sender: ylong_runtime::net::ConnectedUdpSocket) { in sdv_udp_try_send() 481 /// `UdpSocket` and `ConnectedUdpSocket`. 543 /// `ConnectedUdpSocket`.
|
Completed in 7 milliseconds