pub struct EventProcessor { /* private fields */ }
Expand description
Event processor for mDNS event loop.
Implementations§
Source§impl EventProcessor
impl EventProcessor
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Check if the event processor is running.
Sourcepub fn start_with_timeout(
&mut self,
event_loop: EventLoop,
timeout: Duration,
) -> Result<()>
pub fn start_with_timeout( &mut self, event_loop: EventLoop, timeout: Duration, ) -> Result<()>
Start the event processor with a timeout passed to the zeroconf::EventLoop
.
Trait Implementations§
Source§impl Default for EventProcessor
impl Default for EventProcessor
Source§fn default() -> EventProcessor
fn default() -> EventProcessor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventProcessor
impl RefUnwindSafe for EventProcessor
impl Send for EventProcessor
impl Sync for EventProcessor
impl Unpin for EventProcessor
impl UnwindSafe for EventProcessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more