We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6adaaec commit 324cdacCopy full SHA for 324cdac
protocols/upnp/src/lib.rs
@@ -44,13 +44,13 @@ pub use provider::tokio;
44
#[derive(Clone, Copy, Debug)]
45
pub struct Config {
46
/// Bind address for UDP socket (defaults to all `0.0.0.0`).
47
- pub bind_addr: SocketAddr,
+ bind_addr: SocketAddr,
48
/// Broadcast address for discovery packets (defaults to `239.255.255.250:1900`).
49
- pub broadcast_addr: SocketAddr,
+ broadcast_addr: SocketAddr,
50
/// Timeout for a search iteration (defaults to 10s).
51
- pub timeout: Option<Duration>,
+ timeout: Option<Duration>,
52
/// Should the port mappings be temporary or permanent.
53
- pub permanent: bool,
+ permanent: bool,
54
}
55
56
impl Config {
0 commit comments