Skip to main content

OutboxOffsetStore

Trait OutboxOffsetStore 

Source
pub trait OutboxOffsetStore:
    Send
    + Sync
    + 'static {
    // Required methods
    fn load(&self) -> HashMap<String, u64>;
    fn save(&self, offsets: &HashMap<String, u64>);
}
Expand description

Pluggable per-pid offset persistence. load/save return offsets keyed by persistence_id.

Required Methods§

Source

fn load(&self) -> HashMap<String, u64>

Source

fn save(&self, offsets: &HashMap<String, u64>)

Implementors§