usestd::time::Duration;// Config is used to configure a mDNS client or server.
#[derive(Default, Debug)]pubstructConfig{// query_interval controls how often we sends Queries until we
// get a response for the requested name
pubquery_interval: Duration,
// local_names are the names that we will generate answers for
// when we get questions
publocal_names:Vec<String>,
//LoggerFactory logging.LoggerFactory
}