pub enum TemporalError {
PatternNotFound(PatternId),
InvalidQuery(String),
StorageError(String),
}Expand description
Error type for temporal memory operations
Variants§
PatternNotFound(PatternId)
Pattern not found
InvalidQuery(String)
Invalid query
StorageError(String)
Storage error
Trait Implementations§
Source§impl Debug for TemporalError
impl Debug for TemporalError
Source§impl Display for TemporalError
impl Display for TemporalError
Source§impl Error for TemporalError
impl Error for TemporalError
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 TemporalError
impl RefUnwindSafe for TemporalError
impl Send for TemporalError
impl Sync for TemporalError
impl Unpin for TemporalError
impl UnwindSafe for TemporalError
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