Home
last modified time | relevance | path

Searched refs:to_owned (Results 1 – 12 of 12) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
Dasync_dir.rs60 let path = path.as_ref().to_owned(); in create_dir()
89 let path = path.as_ref().to_owned(); in create_dir_all()
119 let path = path.as_ref().to_owned(); in remove_dir()
145 let path = path.as_ref().to_owned(); in remove_dir_all()
172 let path = path.as_ref().to_owned(); in read_dir()
207 let path = path.as_ref().to_owned(); in remove_file()
238 let from = from.as_ref().to_owned(); in rename()
239 let to = to.as_ref().to_owned(); in rename()
274 let from = from.as_ref().to_owned(); in copy()
275 let to = to.as_ref().to_owned(); in copy()
[all …]
Dopen_options.rs296 let path = path.as_ref().to_owned(); in open()
Dasync_file.rs127 let path = path.as_ref().to_owned(); in open()
149 let path = path.as_ref().to_owned(); in create()
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_udp.rs88 let sender_addr: SocketAddr = (basic_addr.to_owned() in ylong_udp_send_recv()
92 let receiver_addr: SocketAddr = (basic_addr.to_owned() in ylong_udp_send_recv()
135 let sender_addr = basic_addr.to_owned() + &*(port + 2 * i).to_string(); in tokio_udp_send_recv()
136 let receiver_addr = basic_addr.to_owned() + &*(port + 2 * i + 1).to_string(); in tokio_udp_send_recv()
174 let sender_addr: SocketAddr = (basic_addr.to_owned() in ylong_udp_send_to_recv_from()
178 let receiver_addr: SocketAddr = (basic_addr.to_owned() in ylong_udp_send_to_recv_from()
217 let sender_addr = basic_addr.to_owned() + &*(port + 2 * i).to_string(); in tokio_udp_send_to_recv_from()
218 let receiver_addr = basic_addr.to_owned() + &*(port + 2 * i + 1).to_string(); in tokio_udp_send_to_recv_from()
Dylong_tokio_tcp.rs62 let addr = basic_addr.to_owned() + &*(port + i).to_string();
113 let addr = (basic_addr.to_owned() + &*(port + i).to_string())
/commonlibrary/rust/ylong_runtime/ylong_runtime_macros/src/
Dselect.rs74 let default_or_except = TokenStream::from((buf[idx]).to_owned()); in tuple_parser()
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
Dpart.rs506 assert_eq!(part.headers().to_owned(), { in ut_mime_part_builder()
526 assert_eq!(part.headers().to_owned(), { in ut_mime_part_headers()
546 assert_eq!(part.headers().to_owned(), { in ut_mime_part_headers_mut()
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/
Dylong_runtime_tcp.rs58 let addr = (basic_addr.to_owned() + &*(port + i).to_string()) in ylong_tcp_send_recv()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Derror.rs121 let file = CStr::from_ptr(file).to_owned(); in get()
125 Some(CStr::from_ptr(func).to_owned()) in get()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dctx.rs64 (**self).to_owned() in clone()
71 fn to_owned(&self) -> Self::Owned { in to_owned() method
/commonlibrary/rust/ylong_http/ylong_http/src/request/
Dmod.rs818 request.body().to_owned().as_str(), in ut_request_new()
Duri.rs729 self.0.to_owned() in to_string()