pub enum Error {
Storage(String),
Serialization(Error),
NotFound(String),
Search(String),
InvalidEmbedding(String),
Internal(String),
SchemaMismatch {
found: u64,
expected: u64,
},
}Variants§
Storage(String)
Serialization(Error)
NotFound(String)
Search(String)
InvalidEmbedding(String)
Internal(String)
SchemaMismatch
Trait Implementations§
Source§impl Debug for KronroeError
impl Debug for KronroeError
Source§impl Display for KronroeError
impl Display for KronroeError
Source§impl Error for KronroeError
impl Error for KronroeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CommitError> for KronroeError
impl From<CommitError> for KronroeError
Source§fn from(e: CommitError) -> KronroeError
fn from(e: CommitError) -> KronroeError
Converts to this type from the input type.
Source§impl From<DatabaseError> for KronroeError
impl From<DatabaseError> for KronroeError
Source§fn from(e: DatabaseError) -> KronroeError
fn from(e: DatabaseError) -> KronroeError
Converts to this type from the input type.
Source§impl From<Error> for KronroeError
impl From<Error> for KronroeError
Source§fn from(source: Error) -> KronroeError
fn from(source: Error) -> KronroeError
Converts to this type from the input type.
Source§impl From<QueryParserError> for KronroeError
Available on crate feature fulltext only.
impl From<QueryParserError> for KronroeError
Available on crate feature
fulltext only.Source§fn from(e: QueryParserError) -> KronroeError
fn from(e: QueryParserError) -> KronroeError
Converts to this type from the input type.
Source§impl From<StorageError> for KronroeError
impl From<StorageError> for KronroeError
Source§fn from(e: StorageError) -> KronroeError
fn from(e: StorageError) -> KronroeError
Converts to this type from the input type.
Source§impl From<TableError> for KronroeError
impl From<TableError> for KronroeError
Source§fn from(e: TableError) -> KronroeError
fn from(e: TableError) -> KronroeError
Converts to this type from the input type.
Source§impl From<TantivyError> for KronroeError
Available on crate feature fulltext only.
impl From<TantivyError> for KronroeError
Available on crate feature
fulltext only.Source§fn from(e: TantivyError) -> KronroeError
fn from(e: TantivyError) -> KronroeError
Converts to this type from the input type.
Source§impl From<TransactionError> for KronroeError
impl From<TransactionError> for KronroeError
Source§fn from(e: TransactionError) -> KronroeError
fn from(e: TransactionError) -> KronroeError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KronroeError
impl !RefUnwindSafe for KronroeError
impl Send for KronroeError
impl Sync for KronroeError
impl Unpin for KronroeError
impl UnsafeUnpin for KronroeError
impl !UnwindSafe for KronroeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more