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

The file does not exists.

Any kind of IO error that happens when interacting with the underlying IO device.

The file may not be deleted because it is protected.

Trait Implementations

impl Debug for DeleteError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<IOError> for DeleteError
[src]

[src]

Performs the conversion.

impl Display for DeleteError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for DeleteError
[src]

[src]

A short description of the error. Read more

[src]

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