hotfix 0.0.15

An experimental FIX engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod in_memory;
#[cfg(feature = "mongodb")]
pub mod mongodb;
#[cfg(feature = "redb")]
pub mod redb;

#[async_trait::async_trait]
pub trait MessageStore {
    async fn add(&mut self, sequence_number: u64, message: &[u8]);
    async fn get_slice(&self, begin: usize, end: usize) -> Vec<Vec<u8>>;
    async fn next_sender_seq_number(&self) -> u64;
    async fn next_target_seq_number(&self) -> u64;
    async fn increment_sender_seq_number(&mut self);
    async fn increment_target_seq_number(&mut self);
    async fn set_target_seq_number(&mut self, seq_number: u64);
    async fn reset(&mut self);
}