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

pub enum OpenReadError {
    FileDoesNotExist(PathBuf),
    IOError(IOError),
}

Error that may occur when accessing a file read

Variants

The file does not exists.

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

Trait Implementations

impl From<OpenReadError> for Error
[src]

[src]

Performs the conversion.

impl Debug for OpenReadError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<IOError> for OpenReadError
[src]

[src]

Performs the conversion.

impl Display for OpenReadError
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for OpenReadError
[src]

[src]

A short description of the error. Read more

[src]

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