Enum mdns_sd::ServiceEvent
source · pub enum ServiceEvent {
SearchStarted(String),
ServiceFound(String, String),
ServiceResolved(ServiceInfo),
ServiceRemoved(String, String),
SearchStopped(String),
}Expand description
All possible events sent to the client from the daemon regarding service discovery.
Variants§
SearchStarted(String)
Started searching for a service type.
ServiceFound(String, String)
Found a specific (service_type, fullname).
ServiceResolved(ServiceInfo)
Resolved a service instance with detailed info.
ServiceRemoved(String, String)
A service instance (service_type, fullname) was removed.
SearchStopped(String)
Stopped searching for a service type.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ServiceEvent
impl Send for ServiceEvent
impl Sync for ServiceEvent
impl Unpin for ServiceEvent
impl UnwindSafe for ServiceEvent
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