pub trait EventSourceService: Service {
// Required method
fn next_event(&mut self) -> Option<Event>;
}Required Methods§
fn next_event(&mut self) -> Option<Event>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".