pub enum SessionStoreError {
StateHomeUnavailable,
InvalidPath {
path: PathBuf,
reason: &'static str,
},
Io {
path: PathBuf,
source: Error,
},
Json {
source: Error,
},
UnsupportedFormatVersion {
actual: u32,
},
SessionIdMismatch {
requested: SessionId,
actual: SessionId,
},
SessionAlreadyReserved {
session_id: SessionId,
},
UnsafePendingToolCalls {
session_id: SessionId,
pending_count: usize,
},
InvalidDocument {
reason: &'static str,
},
}Variants§
InvalidPath
Io
Json
UnsupportedFormatVersion
SessionIdMismatch
SessionAlreadyReserved
UnsafePendingToolCalls
InvalidDocument
Trait Implementations§
Source§impl Debug for SessionStoreError
impl Debug for SessionStoreError
Source§impl Display for SessionStoreError
impl Display for SessionStoreError
Source§impl Error for SessionStoreError
impl Error for SessionStoreError
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 SessionStoreError
impl From<Error> for SessionStoreError
Source§impl From<SessionStoreError> for RuntimeError
impl From<SessionStoreError> for RuntimeError
Source§fn from(source: SessionStoreError) -> Self
fn from(source: SessionStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SessionStoreError
impl !UnwindSafe for SessionStoreError
impl Forget for SessionStoreError
impl Freeze for SessionStoreError
impl Move for SessionStoreError
impl Send for SessionStoreError
impl Sync for SessionStoreError
impl Unpin for SessionStoreError
impl UnsafeUnpin for SessionStoreError
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