Enum tantivy::directory::error::OpenDirectoryError
[−]
[src]
pub enum OpenDirectoryError { DoesNotExist(PathBuf), NotADirectory(PathBuf), }
Error that may occur when opening a directory
Variants
DoesNotExist(PathBuf)
The underlying directory does not exists.
NotADirectory(PathBuf)
The path exists but is not a directory.
Trait Implementations
impl From<OpenDirectoryError> for Error
[src]
fn from(error: OpenDirectoryError) -> Error
[src]
Performs the conversion.
impl Debug for OpenDirectoryError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for OpenDirectoryError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more