pub async fn read<F>( fs: &F, path: impl AsRef<Path> + Send, ) -> Result<Vec<u8>, FsError>where F: FileSystem + ?Sized,
Asynchronously read a file’s contents into memory.
This is analogous to std::fs::read().
std::fs::read()