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