pub enum VecGraphError {
DimensionMismatch {
expected: usize,
got: usize,
},
EmbedderError(String),
EmptyQuery,
StorageError(String),
SerializationError(String),
TokenizerError(String),
InvalidId(String),
Other(String),
}Variants§
DimensionMismatch
EmbedderError(String)
EmptyQuery
StorageError(String)
SerializationError(String)
TokenizerError(String)
InvalidId(String)
Other(String)
Trait Implementations§
Source§impl Debug for VecGraphError
impl Debug for VecGraphError
Source§impl Display for VecGraphError
impl Display for VecGraphError
Source§impl Error for VecGraphError
impl Error for VecGraphError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for VecGraphError
impl RefUnwindSafe for VecGraphError
impl Send for VecGraphError
impl Sync for VecGraphError
impl Unpin for VecGraphError
impl UnsafeUnpin for VecGraphError
impl UnwindSafe for VecGraphError
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