Struct racer::core::Session [] [src]

pub struct Session<'c> {
    // some fields omitted
}

Methods

impl<'c> Session<'c>

fn from_path(cache: &'c FileCache<'c>, query_path: &Path, substitute_file: &Path) -> Session<'c>

fn cache_file_contents<T>(&self, filepath: &Path, buf: T) where T: Into<String>

fn open_file(&self, path: &Path) -> Result<File>

fn read_file(&self, path: &Path) -> Vec<u8>

fn load_file(&self, filepath: &Path) -> Src<'c>

fn load_file_and_mask_comments(&self, filepath: &Path) -> Src<'c>

Trait Implementations

impl<'a> Drop for Session<'a>

fn drop(&mut self)

impl<'c> Debug for Session<'c>

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>