Enum perlin::index::boolean_index::Error [] [src]

pub enum Error {
    PersistPathNotSpecified,
    MissingIndexFiles(Vec<&'static str>),
    PersistPathIsFile,
    CorruptedIndexFile(Option<DecodeError>),
    IO(Error),
    Storage(StorageError),
    Indexing(IndexingError),
}

Error kinds that can occur during operations related to BooleanIndex

Variants

A persistent BooleanIndex should be build but no path where to persist it was specified Call the IndexBuilder::persist()

A BooleanIndex should be loaded from a directory but the specified directory is empty

A BooleanIndex attempted to beeing loaded from a file, not a directory

Tried to load a BooleanIndex from a corrupted file

An IO-Error occured

A Storage-Error occured

An error occured during indexing

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<StorageError> for Error
[src]

Performs the conversion.

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

Performs the conversion.