#[non_exhaustive]#[repr(i32)]pub enum FaissErrorCode {
OK = 0,
UNKNOWN_EXCEPT = -1,
FAISS_EXCEPT = -2,
STD_EXCEPT = -4,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FaissErrorCode
impl Clone for FaissErrorCode
Source§fn clone(&self) -> FaissErrorCode
fn clone(&self) -> FaissErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FaissErrorCode
impl Debug for FaissErrorCode
Source§impl Hash for FaissErrorCode
impl Hash for FaissErrorCode
Source§impl PartialEq for FaissErrorCode
impl PartialEq for FaissErrorCode
impl Copy for FaissErrorCode
impl Eq for FaissErrorCode
impl StructuralPartialEq for FaissErrorCode
Auto Trait Implementations§
impl Freeze for FaissErrorCode
impl RefUnwindSafe for FaissErrorCode
impl Send for FaissErrorCode
impl Sync for FaissErrorCode
impl Unpin for FaissErrorCode
impl UnsafeUnpin for FaissErrorCode
impl UnwindSafe for FaissErrorCode
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