Trait JournalEncoding
pub trait JournalEncoding: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn encode(&self, event: &EngineEvent) -> Result<Vec<u8>, JournalError>;
fn decode(&self, bytes: &[u8]) -> Result<EngineEvent, JournalError>;
}