pub enum KboltError {
Show 21 variants
Database(String),
Tantivy(String),
USearch(String),
SpaceNotFound {
name: String,
},
CollectionNotFound {
name: String,
},
DocumentNotFound {
path: String,
},
AmbiguousSpace {
collection: String,
spaces: Vec<String>,
},
SpaceAlreadyExists {
name: String,
},
CollectionAlreadyExists {
name: String,
space: String,
},
NoActiveSpace,
FileNotFound(PathBuf),
FileDeleted(PathBuf),
ModelNotAvailable {
name: String,
},
SpaceDenseRepairRequired {
space: String,
reason: String,
},
ModelDownload(String),
Inference(String),
Config(String),
InvalidInput(String),
InvalidPath(PathBuf),
Internal(String),
Io(Error),
}Variants§
Database(String)
Tantivy(String)
USearch(String)
SpaceNotFound
CollectionNotFound
DocumentNotFound
AmbiguousSpace
SpaceAlreadyExists
CollectionAlreadyExists
NoActiveSpace
FileNotFound(PathBuf)
FileDeleted(PathBuf)
ModelNotAvailable
SpaceDenseRepairRequired
ModelDownload(String)
Inference(String)
Config(String)
InvalidInput(String)
InvalidPath(PathBuf)
Internal(String)
Io(Error)
Trait Implementations§
Source§impl Debug for KboltError
impl Debug for KboltError
Source§impl Display for KboltError
impl Display for KboltError
Source§impl Error for KboltError
impl Error for KboltError
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 KboltError
impl !RefUnwindSafe for KboltError
impl Send for KboltError
impl Sync for KboltError
impl Unpin for KboltError
impl UnsafeUnpin for KboltError
impl !UnwindSafe for KboltError
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