Skip to main content

Module config_builder

Module config_builder 

Source
Expand description

Tools for manipulating the type state of ConfigBuilder.

See the detailed guide that describes how all the pieces here fit together.

Modules§

sealed 🔒

Structs§

Empty
Represents a State that has IsUnset implemented for all members.
SetBackoffDuration
Represents a State that has IsSet implemented for State::BackoffDuration.
SetBind
Represents a State that has IsSet implemented for State::Bind.
SetConnectRetryDelays
Represents a State that has IsSet implemented for State::ConnectRetryDelays.
SetConnectTimeout
Represents a State that has IsSet implemented for State::ConnectTimeout.
SetHandshakeTimeout
Represents a State that has IsSet implemented for State::HandshakeTimeout.
SetKeypair
Represents a State that has IsSet implemented for State::Keypair.
SetMaxMessageSize
Represents a State that has IsSet implemented for State::MaxMessageSize.
SetMetrics
Represents a State that has IsSet implemented for State::Metrics.
SetName
Represents a State that has IsSet implemented for State::Name.
SetNoiseProtocols
Represents a State that has IsSet implemented for State::NoiseProtocols.
SetParties
Represents a State that has IsSet implemented for State::Parties.
SetPeerBudget
Represents a State that has IsSet implemented for State::PeerBudget.
SetRandomConnectDelay
Represents a State that has IsSet implemented for State::RandomConnectDelay.
SetReceiveTimeout
Represents a State that has IsSet implemented for State::ReceiveTimeout.
SetSendRetryDelays
Represents a State that has IsSet implemented for State::SendRetryDelays.

Traits§

IsComplete
Marker trait that indicates that all required members are set.
IsSet
Marker trait that indicates that the member is set, i.e. at least one of its setters was called.
IsUnset
Marker trait that indicates that the member is unset, i.e. none of its setters was called.
State
Builder’s type state specifies if members are set or not (unset).