Trait ninja_build::disk_interface::FileReader [] [src]

pub trait FileReader {
    fn read_file(
        &self,
        path: &Path,
        contents: &mut Vec<u8>
    ) -> Result<(), FileReaderError>; }

Interface for reading files from disk. See DiskInterface for details. This base offers the minimum interface needed just to read files.

Required Methods

Read and store in given string. On success, return Okay. On error, return another Status and fill |err|.

Implementors