pub fn read_text(path: &Path) -> Result<String>
Read an entire UTF-8 text file.
Returns a contextual error for I/O failures or invalid UTF-8.