Skip to main content

Event

Trait Event 

Source
pub trait Event:
    Clone
    + Send
    + Sync
    + Serialize
    + DeserializeOwned
    + EventTypeName
    + 'static { }
Available on crate feature cqrs only.
Expand description

Trait for Events - immutable facts that represent state changes

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.

Implementors§