pub struct JsonlSessionRepository { /* private fields */ }Implementations§
Trait Implementations§
Source§impl SessionRepository for JsonlSessionRepository
impl SessionRepository for JsonlSessionRepository
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 JsonlSessionRepository
impl RefUnwindSafe for JsonlSessionRepository
impl Send for JsonlSessionRepository
impl Sync for JsonlSessionRepository
impl Unpin for JsonlSessionRepository
impl UnwindSafe for JsonlSessionRepository
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