[−][src]Enum tantivy_fst::raw::Error
An error that occurred while using a finite state transducer.
Variants
A version mismatch occurred while reading a finite state transducer.
This occurs when the API version (of the crate) does not match the version encoded in the finite state transducer.
When this error is encountered, there are only two ways to fix it:
- Change the version of the library to one that is compatible with the given finite state transducer.
- Rebuild the finite state transducer.
Fields of Version
An unexpected error occurred while reading a finite state transducer. Usually this occurs because the data is corrupted or is not actually a finite state transducer serialized by this library.
A duplicate key was inserted into a finite state transducer, which is not allowed.
A key was inserted out of order into a finite state transducer.
Keys must always be inserted in lexicographic order.
Fields of OutOfOrder
A finite state transducer with an unexpected type was found.
This is not currently used in this crate, but callers may wish to employ its use for alternative data structures implemented on top of finite state transducers.
Fields of WrongType
FromUtf8(FromUtf8Error)
An error that occurred when trying to decode a UTF-8 byte key.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,