Type Definition zeroconf::service::ServiceRegisteredCallback[][src]

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 registered
  • context - The optional user context passed through