pub struct PostgresRunJournal { /* private fields */ }Implementations§
Source§impl PostgresRunJournal
impl PostgresRunJournal
pub fn new(client: PostgresStoreClient) -> Self
Trait Implementations§
Source§impl Clone for PostgresRunJournal
impl Clone for PostgresRunJournal
Source§fn clone(&self) -> PostgresRunJournal
fn clone(&self) -> PostgresRunJournal
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 RunJournal for PostgresRunJournal
impl RunJournal for PostgresRunJournal
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 PostgresRunJournal
impl RunJournalReader for PostgresRunJournal
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 !RefUnwindSafe for PostgresRunJournal
impl !UnwindSafe for PostgresRunJournal
impl Freeze for PostgresRunJournal
impl Send for PostgresRunJournal
impl Sync for PostgresRunJournal
impl Unpin for PostgresRunJournal
impl UnsafeUnpin for PostgresRunJournal
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