Function fs_err::tokio::read

source ยท
pub async fn read(path: impl AsRef<Path>) -> Result<Vec<u8>>
Expand description

Reads the entire contents of a file into a bytes vector.

Wrapper for tokio::fs::read.