Skip to main content

loadfile_write_async

Function loadfile_write_async 

Source
pub async fn loadfile_write_async<P: AsRef<Path>>(path: P) -> Result<File>
Expand description

Open a file for reading and writing asynchronously.

§Arguments

  • path - Path to the file

§Returns

  • Ok(File) - The opened file handle
  • Err(AudexError) - If the file cannot be opened