pub enum MemRecError {
MemoryNotFound(Uuid),
ProjectNotFound(String),
StorageError(String),
InvalidRequest(String),
ConnectionError(String),
EmbeddingError(String),
AlreadyDeleted(Uuid),
RecoveryExpired,
}Variants§
MemoryNotFound(Uuid)
ProjectNotFound(String)
StorageError(String)
InvalidRequest(String)
ConnectionError(String)
EmbeddingError(String)
AlreadyDeleted(Uuid)
RecoveryExpired
Trait Implementations§
Source§impl Debug for MemRecError
impl Debug for MemRecError
Source§impl Display for MemRecError
impl Display for MemRecError
Source§impl Error for MemRecError
impl Error for MemRecError
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()
Source§impl From<MemRecError> for JsonRpcError
impl From<MemRecError> for JsonRpcError
Source§fn from(err: MemRecError) -> Self
fn from(err: MemRecError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemRecError
impl RefUnwindSafe for MemRecError
impl Send for MemRecError
impl Sync for MemRecError
impl Unpin for MemRecError
impl UnsafeUnpin for MemRecError
impl UnwindSafe for MemRecError
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