pub enum Error {
Storage(String),
Serialization(Error),
NotFound(String),
Search(String),
InvalidFactId(String),
InvalidEmbedding(String),
Internal(String),
SchemaMismatch {
found: u64,
expected: u64,
},
}Variants§
Storage(String)
Serialization(Error)
NotFound(String)
Search(String)
InvalidFactId(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<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.
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