Skip to main content

safe_read_to_string_async

Function safe_read_to_string_async 

Source
pub async fn safe_read_to_string_async(path: &Path) -> Result<(PathBuf, String)>
Expand description

Async variant: validate path and read file contents in one atomic step.