Function async_copy_dir_files

Source
pub async fn async_copy_dir_files(
    src_dir: &str,
    dest_dir: &str,
) -> Result<(), Error>
Expand description

Asynchronously copies all files from the source directory to the destination directory.

  • src_dir: The source directory path.

  • dest_dir: The destination directory path.

  • Returns: Ok(()) if all files were copied successfully, or an Err with the error details.