#[non_exhaustive]pub enum ConversationStoreErrorKind {
InvalidInput,
NotFound,
Conflict,
NamespaceMismatch,
Storage,
}Expand description
Stable conversation-store failure category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidInput
Input violated a domain invariant.
NotFound
The requested resource does not exist.
Conflict
A version or create-only precondition failed.
NamespaceMismatch
A resource belongs to another memory namespace.
Storage
The backing store failed.
Trait Implementations§
Source§impl Clone for ConversationStoreErrorKind
impl Clone for ConversationStoreErrorKind
Source§fn clone(&self) -> ConversationStoreErrorKind
fn clone(&self) -> ConversationStoreErrorKind
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 moreimpl Copy for ConversationStoreErrorKind
Source§impl Debug for ConversationStoreErrorKind
impl Debug for ConversationStoreErrorKind
impl Eq for ConversationStoreErrorKind
impl StructuralPartialEq for ConversationStoreErrorKind
Auto Trait Implementations§
impl Freeze for ConversationStoreErrorKind
impl RefUnwindSafe for ConversationStoreErrorKind
impl Send for ConversationStoreErrorKind
impl Sync for ConversationStoreErrorKind
impl Unpin for ConversationStoreErrorKind
impl UnsafeUnpin for ConversationStoreErrorKind
impl UnwindSafe for ConversationStoreErrorKind
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