pub struct SqliteSessionBindingStore { /* private fields */ }Expand description
SQLite-backed provider session bindings.
Implementations§
Trait Implementations§
Source§impl Debug for SqliteSessionBindingStore
impl Debug for SqliteSessionBindingStore
Source§impl SessionBindingStore for SqliteSessionBindingStore
impl SessionBindingStore for SqliteSessionBindingStore
Source§fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, BridgeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, BridgeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Looks up a provider thread for a caller session key.
Source§fn put<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
thread_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), BridgeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key: &'life1 str,
thread_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), BridgeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Atomically creates or replaces a session binding.
Auto Trait Implementations§
impl Freeze for SqliteSessionBindingStore
impl RefUnwindSafe for SqliteSessionBindingStore
impl Send for SqliteSessionBindingStore
impl Sync for SqliteSessionBindingStore
impl Unpin for SqliteSessionBindingStore
impl UnsafeUnpin for SqliteSessionBindingStore
impl UnwindSafe for SqliteSessionBindingStore
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