pub trait ToEvent {
type Props<'a>: Props
where Self: 'a;
// Required method
fn to_event<'a>(&'a self) -> Event<'a, Self::Props<'a>>;
}Expand description
Convert a value into an Event.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.