pub enum SessionStoreError {
NotFound(String),
AlreadyExists(String),
Failed(String),
}Expand description
Session store failure.
Variants§
NotFound(String)
Record was not found.
AlreadyExists(String)
Record already exists.
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