Struct racer::FileCache[][src]

pub struct FileCache { /* fields omitted */ }
Expand description

Caches file contents for re-use between sessions.

The file cache is an opaque blob outside of racer which contains maps of loaded and masked files.

Implementations

Create a new file cache

In order to load files into the cache, please see Session::cache_file_contents()

Remove specific files from the cache

Returns true if a file was removed

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.