pub enum BrowserEvent {
Add(ServiceDiscovery),
Remove(ServiceRemoval),
}Expand description
Event from MdnsBrowser received by the ServiceBrowserCallback.
Variants§
Add(ServiceDiscovery)
Remove(ServiceRemoval)
Trait Implementations§
Source§impl Clone for BrowserEvent
impl Clone for BrowserEvent
Source§fn clone(&self) -> BrowserEvent
fn clone(&self) -> BrowserEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrowserEvent
impl Debug for BrowserEvent
Source§impl PartialEq for BrowserEvent
impl PartialEq for BrowserEvent
impl Eq for BrowserEvent
impl StructuralPartialEq for BrowserEvent
Auto Trait Implementations§
impl !Freeze for BrowserEvent
impl !RefUnwindSafe for BrowserEvent
impl Send for BrowserEvent
impl !Sync for BrowserEvent
impl Unpin for BrowserEvent
impl UnwindSafe for BrowserEvent
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