pub struct JsonlEventStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for JsonlEventStore
impl Clone for JsonlEventStore
Source§fn clone(&self) -> JsonlEventStore
fn clone(&self) -> JsonlEventStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonlEventStore
impl Debug for JsonlEventStore
Source§impl EventStore for JsonlEventStore
impl EventStore for JsonlEventStore
fn append<'life0, 'async_trait>(
&'life0 self,
events: Vec<Event>,
) -> Pin<Box<dyn Future<Output = Result<Vec<EventId>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scan<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Event>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scan_after<'life0, 'async_trait>(
&'life0 self,
event_id: Option<EventId>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Event>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ForkStore for JsonlEventStore
impl ForkStore for JsonlEventStore
fn save_fork<'life0, 'async_trait>(
&'life0 self,
fork: ForkSnapshot,
) -> Pin<Box<dyn Future<Output = Result<(), StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_fork<'life0, 'async_trait>(
&'life0 self,
fork_id: ForkId,
) -> Pin<Box<dyn Future<Output = Result<Option<ForkSnapshot>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl IndexStore for JsonlEventStore
impl IndexStore for JsonlEventStore
fn put_index<'life0, 'async_trait>(
&'life0 self,
key: String,
value: Value,
) -> Pin<Box<dyn Future<Output = Result<(), StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_index<'life0, 'async_trait>(
&'life0 self,
key: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SnapshotStore for JsonlEventStore
impl SnapshotStore for JsonlEventStore
fn save_snapshot<'life0, 'async_trait>(
&'life0 self,
snapshot: GraphSnapshot,
) -> Pin<Box<dyn Future<Output = Result<(), StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_snapshot<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<GraphSnapshot>, StateError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for JsonlEventStore
impl !UnwindSafe for JsonlEventStore
impl Freeze for JsonlEventStore
impl Send for JsonlEventStore
impl Sync for JsonlEventStore
impl Unpin for JsonlEventStore
impl UnsafeUnpin for JsonlEventStore
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