pub type DynEventCodec = &'static (dyn EventCodec + Sync);
EventCodec as a static reference trait object.
EventCodec