Enum tantivy::directory::error::Incompatibility [−][src]
pub enum Incompatibility {
CompressionMismatch {
library_compression_format: String,
index_compression_format: String,
},
IndexMismatch {
library_version: Version,
index_version: Version,
},
}
Expand description
Type of index incompatibility between the library and the index found on disk Used to catch and provide a hint to solve this incompatibility issue
Variants
This library cannot decompress the index found on disk
Fields of CompressionMismatch
The index format found on disk isn’t supported by this version of the library
Fields of IndexMismatch
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Incompatibility
impl Send for Incompatibility
impl Sync for Incompatibility
impl Unpin for Incompatibility
impl UnwindSafe for Incompatibility
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