pub trait EventDecoder: Send + Sync { // Required method fn decode(&self, id: EventId, bytes: &[u8]) -> Result<DecodedEvent>; }
Event decoder: convert raw bytes to structured events
Decode raw event bytes