Enum rls_vfs::Error
[−]
[src]
pub enum Error { OutOfSync(PathBuf), Io(Option<PathBuf>, Option<String>), UncommittedChanges(PathBuf), BadLocation, FileNotCached, NoUserDataForFile, }
Variants
OutOfSync(PathBuf)
The given file has become out of sync with the filesystem.
Io(Option<PathBuf>, Option<String>)
IO error reading or writing the given path, 2nd arg is a message.
UncommittedChanges(PathBuf)
There are changes to the given file which have not been written to disk.
BadLocation
Client specified a location that is not within a file. I.e., a row or column not in the file.
FileNotCached
The requested file was not cached in the VFS.
NoUserDataForFile
Not really an error, file is cached but there is no user data for it.
Trait Implementations
impl Debug for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more