pub struct SqliteRunJournal { /* private fields */ }Expand description
SQLite-backed run journal adapter.
Implementations§
Trait Implementations§
Source§impl Clone for SqliteRunJournal
impl Clone for SqliteRunJournal
Source§fn clone(&self) -> SqliteRunJournal
fn clone(&self) -> SqliteRunJournal
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 SqliteRunJournal
impl Debug for SqliteRunJournal
Source§impl RunJournal for SqliteRunJournal
impl RunJournal for SqliteRunJournal
Source§fn append(&self, record: JournalRecord) -> Result<JournalCursor, AgentError>
fn append(&self, record: JournalRecord) -> Result<JournalCursor, AgentError>
Appends one durable journal record and returns its cursor.
Implementations append one durable journal record and return its cursor; they must not
execute the effect described by the record.
Source§impl RunJournalReader for SqliteRunJournal
impl RunJournalReader for SqliteRunJournal
Source§fn records_for_run(
&self,
run_id: &RunId,
) -> Result<Vec<JournalRecord>, AgentError>
fn records_for_run( &self, run_id: &RunId, ) -> Result<Vec<JournalRecord>, AgentError>
Returns records for one run ordered by journal sequence.
Source§fn records_after(
&self,
run_id: &RunId,
after_journal_seq: u64,
) -> Result<Vec<JournalRecord>, AgentError>
fn records_after( &self, run_id: &RunId, after_journal_seq: u64, ) -> Result<Vec<JournalRecord>, AgentError>
Returns records for one run after a journal sequence.
Auto Trait Implementations§
impl Freeze for SqliteRunJournal
impl RefUnwindSafe for SqliteRunJournal
impl Send for SqliteRunJournal
impl Sync for SqliteRunJournal
impl Unpin for SqliteRunJournal
impl UnsafeUnpin for SqliteRunJournal
impl UnwindSafe for SqliteRunJournal
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