Enum tantivy::error::TantivyError [−][src]
pub enum TantivyError {}Show variants
OpenDirectoryError(OpenDirectoryError), OpenReadError(OpenReadError), OpenWriteError(OpenWriteError), IndexAlreadyExists, LockFailure(LockError, Option<String>), IoError(Error), DataCorruption(DataCorruption), Poisoned, InvalidArgument(String), ErrorInThread(String), IndexBuilderMissingArgument(&'static str), SchemaError(String), SystemError(String), IncompatibleIndex(Incompatibility),
Expand description
The library’s error enum
Variants
OpenDirectoryError(OpenDirectoryError)
Failed to open the directory.
OpenReadError(OpenReadError)
Failed to open a file for read.
OpenWriteError(OpenWriteError)
Failed to open a file for write.
Index already exists in this directory
Failed to acquire file lock
IoError(Error)
IO Error.
DataCorruption(DataCorruption)
Data corruption.
A thread holding the locked panicked and poisoned the lock.
InvalidArgument(String)
Invalid argument was passed by the user.
ErrorInThread(String)
An Error happened in one of the thread.
IndexBuilderMissingArgument(&'static str)
An Error appeared related to opening or creating a index.
SchemaError(String)
An Error appeared related to the schema.
SystemError(String)
System error. (e.g.: We failed spawning a new thread)
IncompatibleIndex(Incompatibility)
Index incompatible with current version of tantivy
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for TantivyError
impl Send for TantivyError
impl Sync for TantivyError
impl Unpin for TantivyError
impl !UnwindSafe for TantivyError
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
pub fn vzip(self) -> V