pub enum DakeraError {
NamespaceNotFound(String),
VectorNotFound(String),
DimensionMismatch {
expected: usize,
actual: usize,
},
EmptyVector,
Storage(String),
InvalidRequest(String),
QuotaExceeded {
namespace: String,
reason: String,
},
ServiceUnavailable(String),
}Variants§
NamespaceNotFound(String)
VectorNotFound(String)
DimensionMismatch
EmptyVector
Storage(String)
InvalidRequest(String)
QuotaExceeded
Trait Implementations§
Source§impl Debug for DakeraError
impl Debug for DakeraError
Source§impl Display for DakeraError
impl Display for DakeraError
Source§impl Error for DakeraError
impl Error for DakeraError
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 DakeraError
impl RefUnwindSafe for DakeraError
impl Send for DakeraError
impl Sync for DakeraError
impl Unpin for DakeraError
impl UnsafeUnpin for DakeraError
impl UnwindSafe for DakeraError
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