pub enum ConversationStoreError {
NotFound(String),
Io(String),
Serialization(String),
Corrupted(String),
}Expand description
Session-archive error surface. Distinct from
ArtifactStore::StoreError (artifact persistence). Implementations
map their native failures onto these variants so the host has a
single error type to handle.
Variants§
NotFound(String)
No entry has ever been written for this conversation; carries the conversation id.
Io(String)
The underlying storage failed; carries the human-readable cause.
Serialization(String)
An entry could not be (de)serialized; carries the human-readable cause.
Corrupted(String)
Stored data is present but unusable; carries the human-readable cause.
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
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 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