pub type ServiceRegisteredCallback = dyn Fn(Result<ServiceRegistration, Error>, Option<Arc<dyn Any + Sync + Send>>) + Sync + Send;Expand description
Callback invoked from MdnsService once it has successfully registered.
ยงArguments
service- The service information that was registeredcontext- The optional user context passed through