Trait niri_ipc::state::EventStreamStatePart
source · 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.