Struct atrium_api::agent::store::MemorySessionStore
source · pub struct MemorySessionStore { /* private fields */ }
Available on crate feature
agent
only.Trait Implementations§
source§impl Default for MemorySessionStore
impl Default for MemorySessionStore
source§fn default() -> MemorySessionStore
fn default() -> MemorySessionStore
Returns the “default value” for a type. Read more
source§impl SessionStore for MemorySessionStore
impl SessionStore for MemorySessionStore
fn get_session<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Option<Session>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_session<'life0, 'async_trait>(
&'life0 self,
session: Session
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_session<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for MemorySessionStore
impl Send for MemorySessionStore
impl Sync for MemorySessionStore
impl Unpin for MemorySessionStore
impl !UnwindSafe for MemorySessionStore
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