Derive Clone, Debug. (#2007)

Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
David Craven
2021-03-23 09:53:06 +01:00
committed by GitHub
parent ba90827e46
commit 987c244f09

View File

@ -49,6 +49,8 @@ lazy_static! {
SocketAddr::from((Ipv4Addr::new(224, 0, 0, 251), 5353)); SocketAddr::from((Ipv4Addr::new(224, 0, 0, 251), 5353));
} }
/// Configuration for mDNS.
#[derive(Clone, Debug)]
pub struct MdnsConfig { pub struct MdnsConfig {
/// TTL to use for mdns records. /// TTL to use for mdns records.
pub ttl: Duration, pub ttl: Duration,