Function load_file

Source
pub async fn load_file<P>(path: P) -> Result<Vec<u8>, FileLoadError>
where P: AsRef<Path>,