Enum tantivy::Error [] [src]

pub enum Error {
    OpenError(OpenError),
    IOError(Error),
    Poisoned,
    CorruptedFile(PathBufBox<Error>),
    InvalidArgument(String),
    ErrorInThread(String),
    Other(Box<Error>),
}

Variants

OpenError(OpenError)IOError(Error)PoisonedCorruptedFile(PathBufBox<Error>)InvalidArgument(String)ErrorInThread(String)Other(Box<Error>)

Methods

impl Error
[src]

fn make_other<E: Error + 'static>(e: E) -> Error

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(io_error: Error) -> Error

Performs the conversion.

impl<Guard> From<PoisonError<Guard>> for Error
[src]

fn from(_: PoisonError<Guard>) -> Error

Performs the conversion.

impl From<OpenError> for Error
[src]

fn from(error: OpenError) -> Error

Performs the conversion.