pub struct InMemorySessionRepository { /* private fields */ }Trait Implementations§
Source§impl Default for InMemorySessionRepository
impl Default for InMemorySessionRepository
Source§fn default() -> InMemorySessionRepository
fn default() -> InMemorySessionRepository
Returns the “default value” for a type. Read more
Source§impl SessionRepository for InMemorySessionRepository
impl SessionRepository for InMemorySessionRepository
fn append(&self, request: AppendEvent) -> Result<EventRecord, StoreError>
fn load_session(&self, session_id: &str) -> Result<Vec<EventRecord>, StoreError>
fn load_children(&self, parent_id: &str) -> Result<Vec<EventRecord>, StoreError>
fn head(&self, session_id: &str) -> Result<Option<EventRecord>, StoreError>
Auto Trait Implementations§
impl !Freeze for InMemorySessionRepository
impl RefUnwindSafe for InMemorySessionRepository
impl Send for InMemorySessionRepository
impl Sync for InMemorySessionRepository
impl Unpin for InMemorySessionRepository
impl UnwindSafe for InMemorySessionRepository
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