Expand description
Tools for manipulating the type state of PeerBuilder.
See the detailed guide that describes how all the pieces here fit together.
Modules§
- sealed 🔒
Structs§
- Empty
- Represents a
Statethat hasIsUnsetimplemented for all members. - SetBudget
- Represents a
Statethat hasIsSetimplemented forState::Budget. - SetConfig
- Represents a
Statethat hasIsSetimplemented forState::Config. - SetConnection
- Represents a
Statethat hasIsSetimplemented forState::Connection. - SetInbound
- Represents a
Statethat hasIsSetimplemented forState::Inbound. - SetMessages
- Represents a
Statethat hasIsSetimplemented forState::Messages. - SetMetrics
- Represents a
Statethat hasIsSetimplemented forState::Metrics. - SetNext
Slot - Represents a
Statethat hasIsSetimplemented forState::NextSlot.
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).