Enum tantivy::directory::error::OpenReadError [−][src]
pub enum OpenReadError {
FileDoesNotExist(PathBuf),
IoError {
io_error: Error,
filepath: PathBuf,
},
IncompatibleIndex(Incompatibility),
}
Expand description
Error that may occur when accessing a file read
Variants
FileDoesNotExist(PathBuf)
The file does not exists.
Tuple Fields of FileDoesNotExist
0: PathBuf
Any kind of io::Error.
Fields of IoError
IncompatibleIndex(Incompatibility)
This library does not support the index version found in file footer.
Tuple Fields of IncompatibleIndex
Implementations
Wraps an io error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for OpenReadError
impl Send for OpenReadError
impl Sync for OpenReadError
impl Unpin for OpenReadError
impl !UnwindSafe for OpenReadError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more