Enum tantivy::directory::error::DeleteError
[−]
[src]
pub enum DeleteError { FileDoesNotExist(PathBuf), IOError(IOError), FileProtected(PathBuf), }
Error that may occur when trying to delete a file
Variants
FileDoesNotExist(PathBuf)
The file does not exists.
IOError(IOError)
Any kind of IO error that happens when interacting with the underlying IO device.
FileProtected(PathBuf)
The file may not be deleted because it is protected.
Trait Implementations
impl Debug for DeleteError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<IOError> for DeleteError
[src]
fn from(err: IOError) -> DeleteError
[src]
Performs the conversion.
impl Display for DeleteError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more