Function async_move_file

Source
pub async fn async_move_file(src: &str, dest: &str) -> Result<(), Error>
Expand description

Moves a file from the source path to the destination path asynchronously.

  • src: The source file path.

  • dest: The destination file path.

  • Returns: Ok(()) if the file was moved successfully, or an Err with the error details.