Skip to main content

read

Function read 

Source
pub fn read(path: &Path) -> Result<Zeroizing<Vec<u8>>, String>
Expand description

The plaintext of a file Vector may have sealed: a cache file, sealed or from before sealing, and any other file as it is. A file under a lost key reads as missing, so its caller fetches it again and the write replaces it.