Struct bee_network::NetworkConfigBuilder[][src]

pub struct NetworkConfigBuilder { /* fields omitted */ }
Expand description

A network configuration builder.

Implementations

Creates a new default builder.

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.