pub trait EventStreamStatePart {
// Required methods
fn replicate(&self) -> Vec<Event>;
fn apply(&mut self, event: Event) -> Option<Event>;
}Expand description
Part of the state communicated via the event stream.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".