pub struct FileRuntimeEventJournal { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for FileRuntimeEventJournal
impl Clone for FileRuntimeEventJournal
Source§fn clone(&self) -> FileRuntimeEventJournal
fn clone(&self) -> FileRuntimeEventJournal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl RuntimeEventJournalPort for FileRuntimeEventJournal
impl RuntimeEventJournalPort for FileRuntimeEventJournal
Source§fn append_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
events: &'life1 [RuntimeEvent],
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn append_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
events: &'life1 [RuntimeEvent],
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Append a batch of runtime events to a durable journal.
Source§fn load_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<RuntimeEvent>, CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<RuntimeEvent>, CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Load the complete journal stream (append order).
Source§fn append_command_id<'life0, 'life1, 'async_trait>(
&'life0 self,
command_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn append_command_id<'life0, 'life1, 'async_trait>(
&'life0 self,
command_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Append a “command seen” marker to durable dedup journal. Read more
Source§fn remove_command_id<'life0, 'life1, 'async_trait>(
&'life0 self,
command_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_command_id<'life0, 'life1, 'async_trait>(
&'life0 self,
command_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), CamelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Append a “command forgotten” marker to durable dedup journal. Read more
Auto Trait Implementations§
impl Freeze for FileRuntimeEventJournal
impl !RefUnwindSafe for FileRuntimeEventJournal
impl Send for FileRuntimeEventJournal
impl Sync for FileRuntimeEventJournal
impl Unpin for FileRuntimeEventJournal
impl UnsafeUnpin for FileRuntimeEventJournal
impl !UnwindSafe for FileRuntimeEventJournal
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