Trait racer::FileLoader [] [src]

pub trait FileLoader {
    fn load_file(&self, path: &Path) -> Result<String>;
}

Used by the FileCache for loading files

Implement one of these and pass it to FileCache::new() to override Racer's file loading behavior.

Required Methods

Load a single file

Implementors