pub enum QdrantError {
Connection(String),
Grpc(String),
CollectionNotFound(String),
PointNotFound(String),
DimensionMismatch {
expected: usize,
got: usize,
},
Encode(String),
Decode(String),
Timeout,
}Expand description
Errors that can occur during Qdrant operations.
Variants§
Connection(String)
Connection failed.
Grpc(String)
gRPC error.
CollectionNotFound(String)
Collection not found.
PointNotFound(String)
Point not found.
DimensionMismatch
Invalid vector dimension.
Fields
Encode(String)
Encoding error.
Decode(String)
Decode error.
Timeout
Timeout.
Trait Implementations§
Source§impl Debug for QdrantError
impl Debug for QdrantError
Source§impl Display for QdrantError
impl Display for QdrantError
Source§impl Error for QdrantError
impl Error for QdrantError
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 QdrantError
impl RefUnwindSafe for QdrantError
impl Send for QdrantError
impl Sync for QdrantError
impl Unpin for QdrantError
impl UnsafeUnpin for QdrantError
impl UnwindSafe for QdrantError
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