feat: with protobuf

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-19 08:31:13 +02:00
parent d4d5374392
commit 41f36c09be
8 changed files with 387 additions and 31 deletions

View File

@@ -48,6 +48,7 @@ mod impls {
use crate::{traits, EventInfo};
pub struct InMemoryPersistence {}
#[async_trait]
impl traits::Persistence for InMemoryPersistence {
async fn insert(&self, event_info: &EventInfo, content: Vec<u8>) -> anyhow::Result<()> {