pub fn read_to_string( path: impl AsRef<Path>, cap: &impl Has<FsRead>, ) -> Result<String, CapSecError>
Reads the entire contents of a file into a string. Requires FsRead permission.
FsRead