pub struct FilesystemStore { /* private fields */ }Expand description
Filesystem-backed StateStore (spec §8). One .jsonl file per session
under state_dir.
Implementations§
Trait Implementations§
Source§impl Clone for FilesystemStore
impl Clone for FilesystemStore
Source§impl Debug for FilesystemStore
impl Debug for FilesystemStore
Source§impl StateStore for FilesystemStore
impl StateStore for FilesystemStore
Source§fn append(&self, session_id: &str, event: &Event) -> Result<()>
fn append(&self, session_id: &str, event: &Event) -> Result<()>
Append one event to the session’s log, creating it if absent.
Auto Trait Implementations§
impl Freeze for FilesystemStore
impl RefUnwindSafe for FilesystemStore
impl Send for FilesystemStore
impl Sync for FilesystemStore
impl Unpin for FilesystemStore
impl UnsafeUnpin for FilesystemStore
impl UnwindSafe for FilesystemStore
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