//! Trait definition for cross-platform event loop
usecrate::Result;usestd::time::Duration;/// A handle on the underlying implementation to poll the event loop. Typically, `poll()`
/// is called in a loop to keep a `MdnsService` or `MdnsBrowser` running.
pubtraitTEventLoop{/// Polls for new events.
fnpoll(&self, timeout: Duration)->Result<()>;}