Type Alias zeroconf::service::ServiceRegisteredCallback
source · pub type ServiceRegisteredCallback = dyn Fn(Result<ServiceRegistration>, Option<Arc<dyn Any>>);
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