pub enum ConversationStoreError {
Io(Error),
Serialization(Error),
Sqlite(String),
NotFound(ConversationId),
OwnerMismatch {
conversation_id: ConversationId,
owner: String,
},
EmptyOwner,
EmptyAgent,
EmptyTitle,
}Variants§
Io(Error)
Serialization(Error)
Sqlite(String)
NotFound(ConversationId)
OwnerMismatch
EmptyOwner
EmptyAgent
EmptyTitle
Trait Implementations§
Source§impl Debug for ConversationStoreError
impl Debug for ConversationStoreError
Source§impl Display for ConversationStoreError
impl Display for ConversationStoreError
Source§impl Error for ConversationStoreError
impl Error for ConversationStoreError
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 ConversationStoreError
impl From<Error> for ConversationStoreError
Auto Trait Implementations§
impl !RefUnwindSafe for ConversationStoreError
impl !UnwindSafe for ConversationStoreError
impl Freeze for ConversationStoreError
impl Send for ConversationStoreError
impl Sync for ConversationStoreError
impl Unpin for ConversationStoreError
impl UnsafeUnpin 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