Enum tantivy::directory::error::OpenDirectoryError [] [src]

pub enum OpenDirectoryError {
    DoesNotExist(PathBuf),
    NotADirectory(PathBuf),
}

Error that may occur when opening a directory

Variants

The underlying directory does not exists.

The path exists but is not a directory.

Trait Implementations

impl From<OpenDirectoryError> for Error
[src]

[src]

Performs the conversion.

impl Debug for OpenDirectoryError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for OpenDirectoryError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for OpenDirectoryError
[src]

[src]

A short description of the error. Read more

[src]

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