pub enum AgentDBError {
Network(String),
Auth(String),
NotFound(String),
InvalidQuery(String),
Serialization(String),
Connection(String),
Timeout,
CollectionNotFound(String),
Index(String),
Http(Error),
Json(Error),
}Variants§
Network(String)
Auth(String)
NotFound(String)
InvalidQuery(String)
Serialization(String)
Connection(String)
Timeout
CollectionNotFound(String)
Index(String)
Http(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for AgentDBError
impl Debug for AgentDBError
Source§impl Display for AgentDBError
impl Display for AgentDBError
Source§impl Error for AgentDBError
impl Error for AgentDBError
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 AgentDBError
impl From<Error> for AgentDBError
Auto Trait Implementations§
impl Freeze for AgentDBError
impl !RefUnwindSafe for AgentDBError
impl Send for AgentDBError
impl Sync for AgentDBError
impl Unpin for AgentDBError
impl !UnwindSafe for AgentDBError
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