Function read_to_string

Source
pub fn read_to_string(path: &UnixStr) -> Result<String>
Expand description

Reads a file into a newly allocated vec

ยงErrors

Os errors relating to file access and reading as well as utf8 conversion errors