Searched refs:to_owned (Results 1 – 12 of 12) sorted by relevance
60 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 …]
296 let path = path.as_ref().to_owned(); in open()
127 let path = path.as_ref().to_owned(); in open()149 let path = path.as_ref().to_owned(); in create()
88 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()
62 let addr = basic_addr.to_owned() + &*(port + i).to_string();113 let addr = (basic_addr.to_owned() + &*(port + i).to_string())
74 let default_or_except = TokenStream::from((buf[idx]).to_owned()); in tuple_parser()
506 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()
58 let addr = (basic_addr.to_owned() + &*(port + i).to_string()) in ylong_tcp_send_recv()
121 let file = CStr::from_ptr(file).to_owned(); in get()125 Some(CStr::from_ptr(func).to_owned()) in get()
64 (**self).to_owned() in clone()71 fn to_owned(&self) -> Self::Owned { in to_owned() method
818 request.body().to_owned().as_str(), in ut_request_new()
729 self.0.to_owned() in to_string()