pub struct ConversationStoreError {
pub kind: ConversationStoreErrorKind,
pub message: String,
}Expand description
Typed conversation and semantic-memory persistence failure.
Fields§
§kind: ConversationStoreErrorKindStable failure category.
message: StringSafe application-facing explanation.
Implementations§
Source§impl ConversationStoreError
impl ConversationStoreError
Sourcepub fn new(kind: ConversationStoreErrorKind, message: impl Into<String>) -> Self
pub fn new(kind: ConversationStoreErrorKind, message: impl Into<String>) -> Self
Creates a normalized store error.
Trait Implementations§
Source§impl Clone for ConversationStoreError
impl Clone for ConversationStoreError
Source§fn clone(&self) -> ConversationStoreError
fn clone(&self) -> ConversationStoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConversationStoreError
impl Debug for ConversationStoreError
Source§impl Display for ConversationStoreError
impl Display for ConversationStoreError
impl Eq for ConversationStoreError
Source§impl Error for ConversationStoreError
impl Error for ConversationStoreError
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<ConversationStoreError> for AgentConversationError
impl From<ConversationStoreError> for AgentConversationError
Source§fn from(source: ConversationStoreError) -> Self
fn from(source: ConversationStoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConversationStoreError
impl PartialEq for ConversationStoreError
impl StructuralPartialEq for ConversationStoreError
Auto Trait Implementations§
impl Freeze for ConversationStoreError
impl RefUnwindSafe for ConversationStoreError
impl Send for ConversationStoreError
impl Sync for ConversationStoreError
impl Unpin for ConversationStoreError
impl UnsafeUnpin for ConversationStoreError
impl UnwindSafe for ConversationStoreError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.