pub struct FileRunJournal { /* private fields */ }Expand description
Filesystem-backed run journal adapter.
Implementations§
Trait Implementations§
Source§impl Clone for FileRunJournal
impl Clone for FileRunJournal
Source§fn clone(&self) -> FileRunJournal
fn clone(&self) -> FileRunJournal
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 FileRunJournal
impl Debug for FileRunJournal
Source§impl RunJournal for FileRunJournal
impl RunJournal for FileRunJournal
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 FileRunJournal
impl RunJournalReader for FileRunJournal
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 FileRunJournal
impl RefUnwindSafe for FileRunJournal
impl Send for FileRunJournal
impl Sync for FileRunJournal
impl Unpin for FileRunJournal
impl UnsafeUnpin for FileRunJournal
impl UnwindSafe for FileRunJournal
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