pub struct InMemorySessionLog { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for InMemorySessionLog
impl Default for InMemorySessionLog
Source§impl SessionLog for InMemorySessionLog
impl SessionLog for InMemorySessionLog
fn append<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
event: SessionEvent,
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
from_seq: u64,
primitive_filter: Option<Primitive>,
) -> Pin<Box<dyn Future<Output = Result<Vec<SessionEntry>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn latest_seq<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<i64, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for InMemorySessionLog
impl !RefUnwindSafe for InMemorySessionLog
impl !UnwindSafe for InMemorySessionLog
impl Send for InMemorySessionLog
impl Sync for InMemorySessionLog
impl Unpin for InMemorySessionLog
impl UnsafeUnpin for InMemorySessionLog
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