pub fn migrate_event(event: RawEvent, from_version: u32) -> Result<Event>Expand description
Apply version-specific transforms to an event parsed from an older format.
Returns the event upgraded to the current-version representation.
ยงErrors
Returns an error if from_version is not a recognized format version.