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
Statethat hasIsUnsetimplemented for all members. - SetBackoff
Duration - Represents a
Statethat hasIsSetimplemented forState::BackoffDuration. - SetBind
- Represents a
Statethat hasIsSetimplemented forState::Bind. - SetConnect
Retry Delays - Represents a
Statethat hasIsSetimplemented forState::ConnectRetryDelays. - SetConnect
Timeout - Represents a
Statethat hasIsSetimplemented forState::ConnectTimeout. - SetHandshake
Timeout - Represents a
Statethat hasIsSetimplemented forState::HandshakeTimeout. - SetKeypair
- Represents a
Statethat hasIsSetimplemented forState::Keypair. - SetMax
Message Size - Represents a
Statethat hasIsSetimplemented forState::MaxMessageSize. - SetMetrics
- Represents a
Statethat hasIsSetimplemented forState::Metrics. - SetName
- Represents a
Statethat hasIsSetimplemented forState::Name. - SetNoise
Protocols - Represents a
Statethat hasIsSetimplemented forState::NoiseProtocols. - SetParties
- Represents a
Statethat hasIsSetimplemented forState::Parties. - SetPeer
Budget - Represents a
Statethat hasIsSetimplemented forState::PeerBudget. - SetRandom
Connect Delay - Represents a
Statethat hasIsSetimplemented forState::RandomConnectDelay. - SetReceive
Timeout - Represents a
Statethat hasIsSetimplemented forState::ReceiveTimeout. - SetSend
Retry Delays - Represents a
Statethat hasIsSetimplemented forState::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).