pub enum AilakeError {
Show 15 variants
UnsupportedFormatVersion(u16),
InvalidAilakeMagic([u8; 4]),
InvalidParquetMagic([u8; 4]),
RowCountMismatch {
parquet: u64,
hnsw: u64,
},
DimensionMismatch {
expected: u32,
actual: u32,
},
InvalidCentroidLength {
expected_dim: u32,
actual: usize,
},
NotAnAilakeFile,
InvalidArgument(String),
Catalog(String),
Store(String),
Io(Error),
Parquet(String),
Bincode(String),
Arrow(String),
Json(Error),
}Variants§
UnsupportedFormatVersion(u16)
InvalidAilakeMagic([u8; 4])
InvalidParquetMagic([u8; 4])
RowCountMismatch
DimensionMismatch
InvalidCentroidLength
NotAnAilakeFile
InvalidArgument(String)
Catalog(String)
Store(String)
Io(Error)
Parquet(String)
Bincode(String)
Arrow(String)
Json(Error)
Trait Implementations§
Source§impl Debug for AilakeError
impl Debug for AilakeError
Source§impl Display for AilakeError
impl Display for AilakeError
Source§impl Error for AilakeError
impl Error for AilakeError
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 AilakeError
impl From<Error> for AilakeError
Auto Trait Implementations§
impl Freeze for AilakeError
impl !RefUnwindSafe for AilakeError
impl Send for AilakeError
impl Sync for AilakeError
impl Unpin for AilakeError
impl UnsafeUnpin for AilakeError
impl !UnwindSafe for AilakeError
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