Enum rls_vfs::Error [] [src]

pub enum Error {
    OutOfSync(PathBuf),
    Io(Option<PathBuf>, Option<String>),
    UncommittedChanges(PathBuf),
    BadLocation,
    FileNotCached,
    NoUserDataForFile,
}

Variants

The given file has become out of sync with the filesystem.

IO error reading or writing the given path, 2nd arg is a message.

There are changes to the given file which have not been written to disk.

Client specified a location that is not within a file. I.e., a row or column not in the file.

The requested file was not cached in the VFS.

Not really an error, file is cached but there is no user data for it.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Into<String> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more