pub enum QdrantError {
ResponseError {
status: Status,
},
ConversionError(String),
InvalidUri(InvalidUri),
NoSnapshotFound(String),
Io(Error),
Reqwest(Error),
JsonToPayload(Value),
}
Expand description
Qdrant client error
Variants§
ResponseError
Qdrant server responded with an error
ConversionError(String)
Conversion of a Rust into an API type failed
Such error may include trying to convert a sparse vector into a dense vector.
InvalidUri(InvalidUri)
Invalid Qdrant server URI
NoSnapshotFound(String)
Snapshot not found
Io(Error)
Generic IO error
Reqwest(Error)
API request error
JsonToPayload(Value)
JSON to payload conversion error, only JSON objects are supported
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
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 QdrantError
impl From<Error> for QdrantError
source§impl From<Error> for QdrantError
impl From<Error> for QdrantError
source§impl From<InvalidUri> for QdrantError
impl From<InvalidUri> for QdrantError
source§fn from(err: InvalidUri) -> Self
fn from(err: InvalidUri) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for QdrantError
impl !RefUnwindSafe for QdrantError
impl Send for QdrantError
impl Sync for QdrantError
impl Unpin 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request