Function async_copy_file
Source pub async fn async_copy_file(src: &str, dest: &str) -> Result<(), Error>
Expand description
Asynchronously copies a file from the source path to the destination path.
§Arguments
&str
- The source file path.
&str
- The destination file path.
§Returns
Result<(), std::io::Error>
- Ok if the file was copied successfully, Err with error details otherwise.