Function syncio::directory_read_file
source · pub fn directory_read_file(
directory: &DirectorySynchronousProxy,
path: &str,
deadline: Time
) -> Result<Vec<u8>, Status>
Expand description
Read the content of the file at the given path in the given directory.
If the node at the given path is not a file, then this function returns a zx::Status::IO error.