pub enum SessionStoreError {
NotFound(String),
AlreadyExists(String),
Conflict(String),
StaleFence(String),
IdempotencyConflict(String),
QuotaExceeded(String),
RunConflict(String),
RetryableStorage(String),
Failed(String),
}Expand description
Session store failure.
Variants§
NotFound(String)
Record was not found.
AlreadyExists(String)
Record already exists.
Conflict(String)
Optimistic revision or lifecycle conflict.
StaleFence(String)
The caller no longer owns the admission or fencing generation.
IdempotencyConflict(String)
One idempotency key was reused for a different normalized command.
QuotaExceeded(String)
A trusted host retention or admission quota was exceeded.
RunConflict(String)
The session already owns a live run admission.
RetryableStorage(String)
Store operation failed transiently and may be retried with the same command identity.
Failed(String)
Store failed.
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
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<SessionStoreError> for AgentExecutorError
impl From<SessionStoreError> for AgentExecutorError
Source§fn from(error: SessionStoreError) -> Self
fn from(error: SessionStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionStoreError
impl RefUnwindSafe for SessionStoreError
impl Send for SessionStoreError
impl Sync for SessionStoreError
impl Unpin for SessionStoreError
impl UnsafeUnpin for SessionStoreError
impl UnwindSafe 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