pub enum SqliteSessionError {
Schema(String),
Sqlite(String),
Serialization(String),
}Expand description
Bounded failure returned by the SQLite session store.
Variants§
Schema(String)
The database schema is unsupported or structurally incompatible.
Sqlite(String)
A SQLite operation failed.
Serialization(String)
A canonical record or journal entry failed to serialize.
Trait Implementations§
Source§impl Clone for SqliteSessionError
impl Clone for SqliteSessionError
Source§fn clone(&self) -> SqliteSessionError
fn clone(&self) -> SqliteSessionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqliteSessionError
impl Debug for SqliteSessionError
Source§impl Display for SqliteSessionError
impl Display for SqliteSessionError
Source§impl Error for SqliteSessionError
impl Error for SqliteSessionError
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<Error> for SqliteSessionError
impl From<Error> for SqliteSessionError
Source§impl From<SqliteSessionError> for SessionStoreError
impl From<SqliteSessionError> for SessionStoreError
Source§fn from(error: SqliteSessionError) -> Self
fn from(error: SqliteSessionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SqliteSessionError
impl PartialEq for SqliteSessionError
impl StructuralPartialEq for SqliteSessionError
Auto Trait Implementations§
impl Freeze for SqliteSessionError
impl RefUnwindSafe for SqliteSessionError
impl Send for SqliteSessionError
impl Sync for SqliteSessionError
impl Unpin for SqliteSessionError
impl UnsafeUnpin for SqliteSessionError
impl UnwindSafe for SqliteSessionError
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