mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-21 22:01:34 +00:00
Derive Clone, Debug. (#2007)
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
@ -49,6 +49,8 @@ lazy_static! {
|
||||
SocketAddr::from((Ipv4Addr::new(224, 0, 0, 251), 5353));
|
||||
}
|
||||
|
||||
/// Configuration for mDNS.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct MdnsConfig {
|
||||
/// TTL to use for mdns records.
|
||||
pub ttl: Duration,
|
||||
|
Reference in New Issue
Block a user