1 use std::time::Duration; 2 3 // Config is used to configure a mDNS client or server. 4 #[derive(Default, Debug)] 5 pub struct Config { 6 // query_interval controls how often we sends Queries until we 7 // get a response for the requested name 8 pub query_interval: Duration, 9 10 // local_names are the names that we will generate answers for 11 // when we get questions 12 pub local_names: Vec<String>, 13 //LoggerFactory logging.LoggerFactory 14 } 15