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

pub enum Incompatibility {
    CompressionMismatch {
        library_compression_format: String,
        index_compression_format: String,
    },
    IndexMismatch {
        library_version: Version,
        index_version: Version,
    },
}

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

CompressionMismatch

This library cannot decompress the index found on disk

Fields of CompressionMismatch

library_compression_format: String

Compression algorithm used by the current version of tantivy

index_compression_format: String

Compression algorithm that was used to serialise the index

IndexMismatch

The index format found on disk isn't supported by this version of the library

Fields of IndexMismatch

library_version: Version

Version used by the library

index_version: Version

Version the index was built with

Trait Implementations

impl Debug for Incompatibility[src]

impl From<Incompatibility> for OpenReadError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,