Struct bee_network::NetworkConfigBuilder [−][src]
pub struct NetworkConfigBuilder { /* fields omitted */ }
Expand description
A network configuration builder.
Implementations
Specifies the bind addresses.
Specifies the interval (in seconds) at which known peers are automatically reconnected if possible.
The allowed minimum value for the secs
argument is 1
.
Specifies the maximum number of gossip connections with unknown peers.
Builds the network config.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more