pub struct InMemoryTriggerStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for InMemoryTriggerStore
impl Default for InMemoryTriggerStore
Source§impl TriggerStore for InMemoryTriggerStore
impl TriggerStore for InMemoryTriggerStore
fn execute_command<'life0, 'life1, 'async_trait>(
&'life0 self,
operation_id: &'life1 str,
command: TriggerCommand,
) -> Pin<Box<dyn Future<Output = Result<TriggerEffectResult, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_subscriptions<'life0, 'async_trait>(
&'life0 self,
filter: TriggerSubscriptionFilter,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerSubscriptionRecord>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_session_subscriptions<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<usize, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn ingest_occurrence<'life0, 'async_trait>(
&'life0 self,
request: TriggerOccurrenceRequest,
) -> Pin<Box<dyn Future<Output = Result<TriggerIngressResult, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_occurrences<'life0, 'async_trait>(
&'life0 self,
filter: TriggerOccurrenceFilter,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerOccurrenceRecord>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_deliveries_by_occurrence_id<'life0, 'life1, 'async_trait>(
&'life0 self,
occurrence_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerDeliveryReservation>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_deliveries_by_subscription_id<'life0, 'life1, 'async_trait>(
&'life0 self,
subscription_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerDeliveryReservation>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_deliveries_by_process_id<'life0, 'life1, 'async_trait>(
&'life0 self,
process_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerDeliveryReservation>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_deliveries<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerDeliveryReservation>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_deliveries<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TriggerDeliveryReservation>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
List every reserved delivery snapshot, including deliveries whose live
subscription has since been updated or tombstoned. Recovery uses this
direct delivery-table view to close the reserve/start crash window.
Source§fn prune_mutation_receipts<'life0, 'async_trait>(
&'life0 self,
cutoff_epoch_ms: u64,
) -> Pin<Box<dyn Future<Output = Result<usize, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn prune_mutation_receipts<'life0, 'async_trait>(
&'life0 self,
cutoff_epoch_ms: u64,
) -> Pin<Box<dyn Future<Output = Result<usize, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Drop mutation idempotency receipts older than the host’s established
terminal-process retention cutoff. List operations never create these
receipts.
fn durability_tier(&self) -> DurabilityTier
Auto Trait Implementations§
impl !Freeze for InMemoryTriggerStore
impl !RefUnwindSafe for InMemoryTriggerStore
impl !UnwindSafe for InMemoryTriggerStore
impl Send for InMemoryTriggerStore
impl Sync for InMemoryTriggerStore
impl Unpin for InMemoryTriggerStore
impl UnsafeUnpin for InMemoryTriggerStore
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