pub trait MessageExt: Sealed {
// Required method
fn to_event(&self) -> Result<Event>;
}Expand description
Extension Trait for Message which acts as a wrapper for the function record_to_event().
This trait is sealed and cannot be implemented for types outside of this crate.